edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

SSHSCPClientPut(Stream, String) Method

Put a stream of data onto the FTP server in the current directory.

Definition

Namespace: EnterpriseDT.Net.Ftp.Ssh
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual long Put(
	Stream input,
	string remote
)

Parameters

input  Stream
Input stream of data to put.
remote  String
Name of remote file in current directory.

Return Value

Int64
Number of bytes transferred.

Implements

IFileTransferClientPut(Stream, String)

Remarks

The stream is closed after the transfer is complete if CloseStreamsAfterTransfer is true (the default) and are left open otherwise.

See Also