Discuss this help topic in SecureBlackbox Forum
Opens a stream access to the remote file.
Declaration
Parameters
TSBSftpFileOpenMode values:
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
TSBSftpFileOpenModes values
|
Return value
Returns a reference to the newly created SFTP stream object.
Description
Use this method to open remote access to a file using stream interface.
Note, that call to this method sets SFTPClient into synchronous for the time of all TElSftpStream methods execution.
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’.