Discuss this help topic in SecureBlackbox Forum
TElSimpleSFTPClient.DownloadStream
Downloads the remote file to the stream.
Declaration
Parameters
Values
|
Description
Use this method when you want to download remote file to local stream.
The method uses PipelineLength and DownloadBlockSize to calculate the size of the chunks, which are requested from the server.
To select ASCII or binary transfer mode use ASCIIMode property.
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.