Xceed .NET Libraries Documentation
PreAllocateStorage Property (FtpClient)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpClient 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 FtpClient

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, this property is set to 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.

This property is the equivalent of the AllocateStorage property of the ActiveX version of the Xceed FTP Library.

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

FtpClient Class
FtpClient Members