org.apache.ftpserver.command.impl
Class APPE
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.APPE
- All Implemented Interfaces:
- Command
public class APPE
- extends AbstractCommand
Internal class, do not use directly.
APPE <SP> <pathname> <CRLF>
This command causes the server-DTP to accept the data transferred via the
data connection and to store the data in a file at the server site. If the
file specified in the pathname exists at the server site, then the data shall
be appended to that file; otherwise the file specified in the pathname shall
be created at the server site.
- Author:
- Apache MINA Project
Constructor Summary |
APPE()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPE
public APPE()
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.