Sftp.GetUploadStream Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
GetUploadStream(String)
Returns a Stream for writing data to the remote file. The remote file is created if it doesn't exist, and truncated if it does. Use GetStream(String, FileMode) method if different behavior is desired.
Declaration
public Stream GetUploadStream(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file. |
Returns
Type | Description |
---|---|
Stream | A Stream for writing data to the remote file |