org.oddjob.net.ftp
Interface FTPCommand

All Known Implementing Classes:
FTPAscii, FTPBinary, FTPCd, FTPDelete, FTPGet, FTPList, FTPMkDir, FTPPut, FTPPwd, FTPRename, FTPRmDir

public interface FTPCommand

Abstract for an FTP command.

Author:
rob

Method Summary
 boolean executeWith(FTPClient client)
          Execute the command.
 

Method Detail

executeWith

boolean executeWith(FTPClient client)
                    throws IOException
Execute the command.

Parameters:
client - The client session.
Returns:
true if OK, false otherwise.
Throws:
IOException