|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.ftp.Fxp
public class Fxp
Implements the functionality of a basic FXP (FTP server to FTP server transfer)
Constructor Summary | |
---|---|
Fxp()
Creates a new Fxp instance |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fxp()
Method Detail |
---|
public void addFxpListener(FxpListener listener)
listener
- a FxpListenerFxpListener
public void removeFxpListener(FxpListener listener)
listener
- a FxpListenerFxpListener
public void transferDir(Ftp source, Ftp destination, java.lang.String dir) throws FtpException
source
- the source FTP serverdestination
- the destination FTP serverdir
- the directory name
FtpException
- 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 filename
FtpException
- 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 filter
FtpException
- if an I/O or FTP related error occurs
|
Secure FTP Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |