org.apache.ftpserver.command.impl
Class APPE

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by 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.

Version:
$Rev: 734241 $, $Date: 2009-01-13 22:05:31 +0100 (Tue, 13 Jan 2009) $
Author:
The Apache MINA Project (dev@mina.apache.org)

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

APPE

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