org.apache.ftpserver.command.impl
Class EPSV
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.EPSV
- All Implemented Interfaces:
- Command
public class EPSV
- extends AbstractCommand
Internal class, do not use directly.
The EPSV command requests that a server listen on a data port and wait for a
connection. The EPSV command takes an optional argument. The response to this
command includes only the TCP port number of the listening connection. The
format of the response, however, is similar to the argument of the EPRT
command. This allows the same parsing routines to be used for both commands.
In addition, the format leaves a place holder for the network protocol and/or
network address, which may be needed in the EPSV response in the future. The
response code for entering passive mode using an extended address MUST be
229.
- Version:
- $Rev: 711534 $, $Date: 2008-11-05 09:48:47 +0100 (Wed, 05 Nov 2008) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
Constructor Summary |
EPSV()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSV
public EPSV()
execute
public void execute(FtpIoSession session,
FtpServerContext context,
FtpRequest request)
throws java.io.IOException
- Execute command.
- Parameters:
session
- The current FtpIoSession
context
- The current FtpServerContext
request
- The current FtpRequest
- Throws:
java.io.IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.