Ftp.CopyToAnotherServer Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
CopyToAnotherServer(Ftp, String, String)
Copies a file on this FTP server to another server using direct server-to-server transfer, also known as FXP.
Declaration
public void CopyToAnotherServer(Ftp destinationServer, string sourcePath, string destinationPath)
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. |