| |
|
| java.lang.Object com.enterprisedt.net.ftp.EventAdapter
EventAdapter | public class EventAdapter implements EventListener(Code) | | An adapter class that implements dummy methods of the EventListener
interface. Useful for quickly implementing a single method of EventListener.
author: Bruce Blackshaw version: $Revision: 1.1 $ |
bytesTransferred | public void bytesTransferred(long count)(Code) | | Report the number of bytes transferred so far. This may
not be entirely accurate for transferring text files in ASCII
mode, as new line representations can be represented differently
on different platforms.
Parameters: count - count of bytes transferred |
commandSent | public void commandSent(String cmd)(Code) | | Log an FTP command being sent to the server. Not used for SFTP.
Parameters: cmd - command string |
downloadCompleted | public void downloadCompleted(String remoteFilename)(Code) | | Notifies that a download has completed
Parameters: remoteFilename - remote file name |
downloadStarted | public void downloadStarted(String remoteFilename)(Code) | | Notifies that a download has started
Parameters: remoteFilename - remote file name |
replyReceived | public void replyReceived(String reply)(Code) | | Log an FTP reply being sent back to the client. Not used for
SFTP.
Parameters: reply - reply string |
uploadCompleted | public void uploadCompleted(String remoteFilename)(Code) | | Notifies that an upload has completed
Parameters: remoteFilename - remote file name |
uploadStarted | public void uploadStarted(String remoteFilename)(Code) | | Notifies that an upload has started
Parameters: remoteFilename - remote file name |
|
|
|