SftpClientDownloadFile Method |
Downloads remote file specified by the path into the stream.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic void DownloadFile(
string path,
Stream output,
Action<ulong> downloadCallback
)
Parameters
- path String
- File to download.
- output Stream
- Stream to write the file into.
- downloadCallback ActionUInt64
- The download callback.
Exceptions
Remarks
Method calls made by this method to output, may under certain conditions result in exceptions thrown by the stream.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also