ExFTPConnectionTransferFileFXP Method |
Transfer a file between FTP servers using FXP.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic void TransferFileFXP(
ExFTPConnection destination,
string sourceFile,
string destinationFile
)
Public Sub TransferFileFXP (
destination As ExFTPConnection,
sourceFile As String,
destinationFile As String
)
public:
void TransferFileFXP(
ExFTPConnection^ destination,
String^ sourceFile,
String^ destinationFile
)
member TransferFileFXP :
destination : ExFTPConnection *
sourceFile : string *
destinationFile : string -> unit
Parameters
- destination
- Type: EnterpriseDT.Net.FtpExFTPConnection
Connection to the destination server. - sourceFile
- Type: SystemString
name of file on source server to transfer - destinationFile
- Type: SystemString
name of file to be written to destination server
Remarks
For this to succeed, both FTP servers must have FXP
enabled. The source (which is this connection's server)
and destination FTPClients must already
be connected to their FTP servers when this method is called.
The file will be transferred in whatever mode is currently set, i.e.
BINARY or ASCII.
The file must be in the current working directory of the source, and will
be placed in the current working directory of the destination.
See Also