org.apache.ftpserver.command
Class RNTO

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

public class RNTO
extends AbstractCommand

RNTO <SP> <pathname> <CRLF>
This command specifies the new pathname of the file specified in the immediately preceding "rename from" command. Together the two commands cause a file to be renamed.


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

RNTO

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