org.apache.ftpserver.command.impl
Class RNFR

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

public class RNFR
extends AbstractCommand

Internal class, do not use directly. RNFR <SP> <pathname> <CRLF>
This command specifies the old pathname of the file which is to be renamed. This command must be immediately followed by a "rename to" command specifying the new file pathname.

Version:
$Rev: 711534 $, $Date: 2008-11-05 09:48:47 +0100 (Wed, 05 Nov 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

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

RNFR

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