Scp.Upload Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
Upload(String, String)
Uploads the content of the local directory (files and all subfolders) to the specified remote directory.
Declaration
public void Upload(string localPath, string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | localPath | The path of the local directory. |
String | remotePath | The path of the remote directory. Doesn't have to exist (will be created), but it's parent directory must already exist. |