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

Ftp.CopyToAnotherServerAsync Method

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

CopyToAnotherServerAsync(Ftp, String, String, Object)

Begins asynchronous CopyToAnotherServer operation. Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.

Declaration
public Task CopyToAnotherServerAsync(Ftp destinationServer, string sourcePath, string destinationPath, object state = null)
Parameters
Type Name Description
Ftp destinationServer

An Ftp object representing the destination server. Must be already initialized.

String sourcePath

Path to the source file to be copied.

String destinationPath

Path to the destination file.

Object state

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

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