org.apache.ftpserver.command.impl
Class LIST
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.LIST
- All Implemented Interfaces:
- Command
public class LIST
- extends AbstractCommand
Internal class, do not use directly.
LIST [<SP> <pathname>] <CRLF>
This command causes a list to be sent from the server to the passive DTP. If
the pathname specifies a directory or other group of files, the server should
transfer a list of files in the specified directory. If the pathname
specifies a file then the server should send current information on the file.
A null argument implies the user's current working or default directory. The
data transfer is over the data connection.
- Author:
- Apache MINA Project
Constructor Summary |
LIST()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST
public LIST()
execute
public void execute(FtpIoSession session,
FtpServerContext context,
FtpRequest request)
throws IOException,
FtpException
- Execute command.
- Parameters:
session
- The current FtpIoSession
context
- The current FtpServerContext
request
- The current FtpRequest
- Throws:
IOException
FtpException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.