Discuss this help topic in SecureBlackbox Forum

TElSftpClient.OpenDirectory

TElSftpClient     See also     


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


Opens existing directory on a server side for reading.

Declaration

[C#]
    bool OpenDirectory(string Path);

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

[Pascal]
    function OpenDirectory(Path : string): Boolean;
    function OpenDirectorySync(const Path: string): TSBSFTPFileHandle;
    type TSBSftpFileHandle = ByteArray;

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

[PHP]
    bool OpenDirectory(string $Path)

[Java]
    boolean openDirectory(String Path);

Parameters

  • Path - specifies the folder to open

Return value

    True if operation was completed successfully;
    False otherwise.

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.

See also:     CloseHandle     ReadDirectory     MakeDirectory     RemoveDirectory    

Discuss this help topic in SecureBlackbox Forum