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

Scp.UploadAsync Method

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

UploadAsync(String, String, Object)

Begins asynchronous Upload operation. Uploads the content of the local directory (files and all subfolders) to the specified remote directory.

Declaration
public Task UploadAsync(string localPath, string remotePath, object state = null)
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.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
In This Article
  • UploadAsync(String, String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies