Transfer file from source FTP server to destination FTP server
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void Transfer( Ftp source, Ftp destination, string filename ) |
Visual Basic |
---|
Public Sub Transfer ( _ source As Ftp, _ destination As Ftp, _ filename As String _ ) |
Visual C++ |
---|
public: void Transfer( Ftp^ source, Ftp^ destination, String^ filename ) |
Parameters
- source
- Type: Jscape.Ftp..::..Ftp
the source FTP server
- destination
- Type: Jscape.Ftp..::..Ftp
the destination FTP server
- filename
- Type: System..::..String
the source filename
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP related error occurs. |