SSH Factory for .NET

Scp.Upload Method (String, String, String)

Uploads file to SSH server.

public void Upload(
   string localFile,
   string remoteDir,
   string remoteFile
);

Parameters

localFile
local file name relative to local directory
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