org.apache.ftpserver.command.impl
Class RNTO
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.RNTO
- All Implemented Interfaces:
- Command
public class RNTO
- extends AbstractCommand
Internal class, do not use directly.
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.
- Author:
- Apache MINA Project
Constructor Summary |
RNTO()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RNTO
public RNTO()
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.