Discuss this help topic in SecureBlackbox Forum
Opens a file on the server.
Declaration
Parameters
TSBSftpFileOpenAccess values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenAccess values
|
Return value
Returns handle to the opened file.
Description
Use this method to open files on a server side.
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.
The file is opened in binary mode, unless fmText flag is included to Modes parameter.
After you have finished using the directory, close the handle with a call to CloseHandle() method.