org.apache.ftpserver.command.impl
Class RMD

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

public class RMD
extends AbstractCommand

Internal class, do not use directly. RMD <SP> <pathname> <CRLF>
This command causes the directory specified in the pathname to be removed as a directory (if the pathname is absolute) or as a subdirectory of the current working directory (if the pathname is relative).

Version:
$Rev: 725059 $, $Date: 2008-12-10 12:51:35 +0100 (Wed, 10 Dec 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

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

RMD

public RMD()
Method Detail

execute

public void execute(FtpIoSession session,
                    FtpServerContext context,
                    FtpRequest request)
             throws java.io.IOException,
                    FtpException
Execute command.

Parameters:
session - The current FtpIoSession
context - The current FtpServerContext
request - The current FtpRequest
Throws:
java.io.IOException
FtpException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.