procedure QueryAvailableSpace(const Path: string; ReplyExtension: TScSpaceAvailableReplyExtension = nil);
Call the QueryAvailableSpace method to learn the amount of available space for an arbitrary path.
If the NonBlocking property is False, QueryAvailableSpace returns control after receiving an answer from the server and writing the result to the ReplyExtension object. Otherwise the result is written to ReplyExtension on executing the OnReplySpaceAvailable event. If the server returns an error, the OnError event is generated.
Note: this request is not supported by all SFTP servers.
|•||Path - the path for which the available space should be reported.|
|•||ReplyExtension - an object to which the data about available space will be written. If this parameter is set to nil or not set at all, the OnReplySpaceAvailable event should be processed in order to get the result. If the object is specified, it will be returned in the OnReplySpaceAvailable event handler.|