org.apache.ftpserver.command
Class CWD

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

public class CWD
extends AbstractCommand

CWD <SP> <pathname> <CRLF>
This command allows the user to work with a different directory for file storage or retrieval without altering his login or accounting information. Transfer parameters are similarly unchanged. The argument is a pathname specifying a directory.


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

CWD

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