property AllocationSize: Int64;

 

Description

Use the AllocationSize property to specify thi file size on disk (in bytes). If this property is set when the file is created, the file is created and the specified number of bytes is pre-allocated. If pre-allocation process fails, the file can be removed (if it was created), and an error will be arised. If the property is set when creating file attributes, the file can be extended or truncated to the specified size. The Size property may be affected by this operation.

 

Note: This property is supported starting with version 6 of the SFTP protocol.

 

See Also

Size

ValidAttributes

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support