Xceed .NET Libraries Documentation
PreAllocateStorage Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : PreAllocateStorage Property
Gets or sets a boolean value indicating if the FTP server must reserve enough space before a file is sent.
Syntax
'Declaration
 
Public Property PreAllocateStorage As Boolean
'Usage
 
Dim instance As FtpConnection

Dim value As Boolean

 

instance.PreAllocateStorage = value

 

value = instance.PreAllocateStorage
public bool PreAllocateStorage {get; set;}

Property Value

true if the FTP server must reserve space before a file is sent; false otherwise. By default, false.
Remarks

If set to true, the "ALLO file_size" FTP command will be sent to the FTP server to allocate sufficient space before the file is sent.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpConnection Class
FtpConnection Members