org.apache.ftpserver.command
Class APPE

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

public class APPE
extends AbstractCommand

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.


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 - TODO
context - TODO
Throws:
java.io.IOException
FtpException


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.