Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.OpenDirectory

TElSimpleSFTPClient     See also     


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


Opens existing directory on a server side for reading.

Declaration

[C#]
    byte[] OpenDirectory(string Path);

[VB.NET]
    Function OpenDirectory(ByVal Path As String) As Byte()

[Pascal]
    function OpenDirectory(const Path : string) : TSBSFTPFileHandle;

[C++]
    void OpenDirectory(const std::string &Path, std::vector<uint8_t> &OutResult);

[PHP]
    string OpenDirectory(string $Path)

[Java]
    byte[] openDirectory(String Path);

Parameters

  • Path - specifies the folder to open

Return value

    Returns

Description

    Use this method to open existing directory on a server side for reading.
    After you have finished using the directory, close the handle with a call to CloseHandle() method.
    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.

See also:     CloseHandle     ReadDirectory     MakeDirectory     RemoveDirectory    

Discuss this help topic in SecureBlackbox Forum