org.apache.ftpserver.command
Class CDUP

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

public class CDUP
extends AbstractCommand

CDUP <CRLF>
This command is a special case of CWD, and is included to simplify the implementation of programs for transferring directory trees between operating systems having different syntaxes for naming the parent directory. The reply codes shall be identical to the reply codes of CWD.


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

CDUP

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