Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Scp.DownloadAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

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
In This Article
  • DownloadAsync(String, String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies