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

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub CopyToAnotherServer ( _
	destinationServer As Ftp, _
	sourcePath As String, _
	destinationPath As String _
)
C#
public void CopyToAnotherServer(
	Ftp destinationServer,
	string sourcePath,
	string destinationPath
)

Parameters

destinationServer
Type: Rebex.Net..::..Ftp
An Ftp object representing the destination server. Must be already initialized.
sourcePath
Type: System..::..String
Path to the source file to be copied.
destinationPath
Type: System..::..String
Path to the destination file.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also