Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.QueryAvailableSpace

TElSimpleSFTPClient     


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


Requests available space on SFTP server.

Declaration

[C#]
    void QueryAvailableSpace(string Path, TElSftpSpaceAvailableReply AvailSpace);

[VB.NET]
    Sub QueryAvailableSpace(ByVal Path As String, ByVal AvailSpace As TElSftpSpaceAvailableReply)

[Pascal]
    procedure QueryAvailableSpace(const Path : string; AvailSpace : TElSftpSpaceAvailableReply);

[C++]
    void QueryAvailableSpace(const std::string &Path, TElSftpSpaceAvailableReply &AvailSpace);
    void QueryAvailableSpace(const std::string &Path, TElSftpSpaceAvailableReply *AvailSpace);

[PHP]
    void QueryAvailableSpace(string $Path, TElSftpSpaceAvailableReply $AvailSpace)

[Java]
    void queryAvailableSpace(String Path, TElSftpSpaceAvailableReply AvailSpace);

Parameters

  • Path - path to the desired directory
  • AvailSpace - an initialized object into which information about available space will be placed

Description

    Use this method to request available storage space on SFTP server.
    In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.

Discuss this help topic in SecureBlackbox Forum