org.apache.ftpserver.command.impl
Class NLST

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

public class NLST
extends AbstractCommand

Internal class, do not use directly. 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.

Author:
Apache MINA Project

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 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.