org.apache.ftpserver.command
Class NLST

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by org.apache.ftpserver.command.NLST
All Implemented Interfaces:
Command

public class NLST
extends AbstractCommand

NLST [<SP> <pathname>] <CRLF>
This command causes a directory listing to be sent from server to user site. The pathname should specify a directory or other system-specific file group descriptor; a null argument implies the current directory. The server will return a stream of names of files and no other information.


Constructor Summary
NLST()
           
 
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

NLST

public NLST()
Method Detail

execute

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

Parameters:
session - TODO
context - TODO
Throws:
java.io.IOException
FtpException


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.