public class FtpAdapter extends java.lang.Object implements FtpListener
FtpConnectedEventFtpDisconnectedEventFtpUploadEventFtpDownloadEventFtpCommandEventFtpResponseEventFtpListingEventFtpProgressEventFtpConnectionLostEvent
| Constructor and Description |
|---|
FtpAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeDir(FtpChangeDirEvent event)
Invoked when the remote directory path is changed on the server.
|
void |
commandSent(FtpCommandEvent event)
Invoked when a command is sent to FTP server.
|
void |
connected(FtpConnectedEvent event)
Invoked when connection to FTP server is established.
|
void |
connectionLost(FtpConnectionLostEvent event)
Invoked when connection to FTP server is unexpectedly closed.
|
void |
createDir(FtpCreateDirEvent event)
Invoked when a directory is created.
|
void |
deleteDir(FtpDeleteDirEvent event)
Invoked when directory is deleted.
|
void |
deleteFile(FtpDeleteFileEvent event)
Invoked when a file is deleted.
|
void |
disconnected(FtpDisconnectedEvent event)
Invoked when connection to FTP server is released.
|
void |
download(FtpDownloadEvent event)
Invoked when file is downloaded from FTP server.
|
void |
listing(FtpListingEvent event)
Invoked when directory listing is retrieved from FTP server.
|
void |
progress(FtpProgressEvent event)
Invoked to mark progress of a download or upload operation.
|
void |
renameFile(FtpRenameFileEvent event)
Invoked when a file is renamed.
|
void |
responseReceived(FtpResponseEvent event)
Invoked when a response is received from FTP server.
|
void |
upload(FtpUploadEvent event)
Invoked when file is uploaded to FTP server.
|
public void connected(FtpConnectedEvent event)
connected in interface FtpListenerevent - a FtpConnectedEventFtpConnectedEventpublic void disconnected(FtpDisconnectedEvent event)
disconnected in interface FtpListenerevent - a FtpDisconnectedEventFtpDisconnectedEventpublic void upload(FtpUploadEvent event)
upload in interface FtpListenerevent - a FtpUploadEventFtpUploadEventpublic void download(FtpDownloadEvent event)
download in interface FtpListenerevent - a FtpDownloadEventFtpDownloadEventpublic void progress(FtpProgressEvent event)
progress in interface FtpListenerevent - a FtpProgressEventFtpProgressEventpublic void listing(FtpListingEvent event)
listing in interface FtpListenerevent - a FtpListingEventFtpListingEventpublic void commandSent(FtpCommandEvent event)
commandSent in interface FtpListenerevent - a FtpCommandEventFtpCommandEventpublic void responseReceived(FtpResponseEvent event)
responseReceived in interface FtpListenerevent - a FtpResponseEventFtpResponseEventpublic void connectionLost(FtpConnectionLostEvent event)
connectionLost in interface FtpListenerevent - a FtpConnectionLostEventFtpConnectionLostEventpublic void deleteDir(FtpDeleteDirEvent event)
deleteDir in interface FtpListenerevent - a FtpDeleteDirEventFtpDeleteDirEventpublic void deleteFile(FtpDeleteFileEvent event)
deleteFile in interface FtpListenerevent - a FtpDeleteFileEventFtpDeleteFileEventpublic void renameFile(FtpRenameFileEvent event)
renameFile in interface FtpListenerevent - a FtpRenameFileEventFtpRenameFileEventpublic void createDir(FtpCreateDirEvent event)
createDir in interface FtpListenerevent - a FtpCreateDirEventFtpCreateDirEventpublic void changeDir(FtpChangeDirEvent event)
changeDir in interface FtpListenerevent - a FtpChangeDirEventFtpChangeDirEventCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved