org.apache.ftpserver.command
Class EPSV
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.EPSV
- All Implemented Interfaces:
- Command
public class EPSV
- extends AbstractCommand
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.
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
- TODOcontext
- TODO
- Throws:
java.io.IOException
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.