Uploads the content of the local directory (files and all subfolders) to the specified remote directory.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Sub Upload ( _ localPath As String, _ remotePath As String _ ) |
C# |
---|
public void Upload( string localPath, string remotePath ) |
Parameters
- localPath
- Type: System..::..String
The path of the local directory.
- remotePath
- Type: System..::..String
The path of the remote directory. Doesn't have to exist (will be created), but it's parent directory must already exist.