org.apache.ftpserver.command.impl
Class LIST

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by 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.

Version:
$Rev: 725428 $, $Date: 2008-12-10 21:52:32 +0100 (Wed, 10 Dec 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
LIST()
           
 
Method Summary
 void execute(FtpIoSession session, FtpServerContext context, FtpRequest request)
          Execute command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LIST

public LIST()
Method Detail

execute

public void execute(FtpIoSession session,
                    FtpServerContext context,
                    FtpRequest request)
             throws java.io.IOException,
                    FtpException
Execute command.

Parameters:
session - The current FtpIoSession
context - The current FtpServerContext
request - The current FtpRequest
Throws:
java.io.IOException
FtpException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.