org.apache.ftpserver.command.impl
Class MLSD

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

public class MLSD
extends AbstractCommand

Internal class, do not use directly. MLSD [<SP> <pathname>] <CRLF>
This command causes a list to be sent from the server to the passive DTP. The pathname must specify a directory and the server should transfer a list of files in the specified directory. 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
MLSD()
           
 
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

MLSD

public MLSD()
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.