public class Fxp
extends java.lang.Object
| Constructor and Description |
|---|
Fxp()
Creates a new Fxp instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFxpListener(FxpListener listener)
Add FXP event listener
|
void |
mtransfer(Ftp source,
Ftp destination,
java.lang.String filter)
Transfer files matching regular expression from source FTP server to destination FTP server.
|
void |
removeFxpListener(FxpListener listener)
Remove FXP event listener.
|
void |
transfer(Ftp source,
Ftp destination,
java.lang.String filename)
Transfer file from source FTP server to destination FTP server
|
void |
transferDir(Ftp source,
Ftp destination,
java.lang.String dir)
Transfer directory from source FTP server to destination FTP server
|
public void addFxpListener(FxpListener listener)
listener - a FxpListenerFxpListenerpublic void removeFxpListener(FxpListener listener)
listener - a FxpListenerFxpListenerpublic void transferDir(Ftp source, Ftp destination, java.lang.String dir) throws FtpException
source - the source FTP serverdestination - the destination FTP serverdir - the directory nameFtpException - if an I/O or FTP related error occurspublic void transfer(Ftp source, Ftp destination, java.lang.String filename) throws FtpException
source - the source FTP serverdestination - the destination FTP serverfilename - the source filenameFtpException - if an I/O or FTP related error occurspublic void mtransfer(Ftp source, Ftp destination, java.lang.String filter) throws FtpException
source - the source FTP serverdestination - the destination FTP serverfilter - the file filterFtpException - if an I/O or FTP related error occursCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved