org.apache.ftpserver.command.impl
Class CWD

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

public class CWD
extends AbstractCommand

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

Author:
Apache MINA Project

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