Scp.DownloadAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
DownloadAsync(String, String, Object)
Begins asynchronous Download operation. Downloads the content of the remote directory (files and all subfolders) to the specified local directory.
Declaration
public Task DownloadAsync(string remotePath, string localPath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote directory. |
String | localPath | The path of the local directory. Doesn't have to exist (will be created). |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |