Discuss this help topic in SecureBlackbox Forum

TElSftpClient.QueryAvailableSpace

TElSftpClient     See also     


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


Requests available space on SFTP server.

Declaration

[C#]
    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)

[Java]
    boolean 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