SSH Factory for .NET

Scp.Upload Method (Stream, String, String)

Uploads file to SSH server.

public void Upload(
   Stream input,
   string remoteDir,
   string remoteFile
);

Parameters

input
the input stream to read from
remoteDir
remote directory path with ending path separator (i.e "/user/home/") or empty line for current directory
remoteFile
the remote file name

See Also

Scp Class | Jscape.Scp Namespace | Scp.Upload Overload List