Discuss this help topic in SecureBlackbox Forum


TElSimpleSFTPClient     See also     

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

Closes the opened file handle.


    void CloseHandle(byte[] Handle);

    Sub CloseHandle(ByVal Handle As Byte())

    procedure CloseHandle(const Handle: TSBSftpFileHandle);
    type TSBSftpFileHandle = ByteArray;

    void CloseHandle(const std::vector<uint8_t> &Handle);

    void CloseHandle(array of byte|string|NULL $Handle)

    void closeHandle(byte[] Handle);


  • Handle - Active file handle


    Use this method to close the active file handle. After passing to this function the handle becomes invalid and should not be used.
    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:     OpenFile     CreateFile    

Discuss this help topic in SecureBlackbox Forum