org.oddjob.net.ftp
Class FTPList
java.lang.Object
org.oddjob.net.ftp.FTPList
- All Implemented Interfaces:
- FTPCommand
public class FTPList
- extends Object
- implements FTPCommand
Description
FTP command to provide a listing of remote files.- Author:
- rob
FTPList
public FTPList()
executeWith
public boolean executeWith(FTPClient client)
throws IOException
- Description copied from interface:
FTPCommand
- Execute the command.
- Specified by:
executeWith
in interface FTPCommand
- Parameters:
client
- The client session.
- Returns:
- true if OK, false otherwise.
- Throws:
IOException
getPath
public String getPath()
setPath
public void setPath(String path)
getFiles
public FTPFile[] getFiles()
toString
public String toString()
- Overrides:
toString
in class Object