SftpClientBeginUploadFile(Stream, String, AsyncCallback) Method |
Begins an asynchronous uploading the steam into remote file.
Namespace: Crestron.SimplSharp.SshAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic IAsyncResult BeginUploadFile(
Stream input,
string path,
AsyncCallback asyncCallback
)
Parameters
- input Stream
- Data input stream.
- path String
- Remote file path.
- asyncCallback AsyncCallback
- The method to be called when the asynchronous write operation is completed.
Return Value
IAsyncResult
An
IAsyncResult that references the asynchronous operation.
Exceptions
Remarks
Method calls made by this method to input, 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