Discuss this help topic in SecureBlackbox Forum
Opens a stream access to the remote file.
Declaration
Parameters
TSBSftpFileOpenMode values
|
TSBSftpFileOpenModes values
|
Return value
…
Description
Use this method to open remote access to a file using stream interface.
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.
Note, setting of file opening mode differs for VCL and .NET versions.
To enable several modes in .NET use bitwise OR operation, for example "fmRead | fmWrite | fmAppend".