Discuss this help topic in SecureBlackbox Forum

TElSftpClient.QueryAvailableSpace

TElSftpClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Requests available space on SFTP server.

Declaration

[C#/Java]
    bool QueryAvailableSpace(string Path);

[VB.NET]
    Function QueryAvailableSpace(ByVal Path As String) As Boolean

[Pascal]
    function QueryAvailableSpace(const Path : string): boolean;
    procedure QueryAvailableSpaceSync(const Path: string);

[C++]
    bool QueryAvailableSpace(const std::string &Path);

[PHP]
    bool QueryAvailableSpace(string $Path)

Parameters

  • Path - path to the desired directory

Return value

    True if operation was completed successfully;
    False otherwise.

Description

    Use this method to request available storage space on SFTP server. If the operation succeeds, OnAvailableSpace event is fired, otherwise, OnError event is fired.

See also:     QueryHomeDirectory    

Discuss this help topic in SecureBlackbox Forum