org.apache.ftpserver.command.impl
Class PASV
java.lang.Object
org.apache.ftpserver.command.AbstractCommand
org.apache.ftpserver.command.impl.PASV
- All Implemented Interfaces:
- Command
public class PASV
- extends AbstractCommand
Internal class, do not use directly.
PASV <CRLF>
This command requests the server-DTP to "listen" on a data port (which is not
its default data port) and to wait for a connection rather than initiate one
upon receipt of a transfer command. The response to this command includes the
host and port address this server is listening on.
- Author:
- Apache MINA Project
Constructor Summary |
PASV()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASV
public PASV()
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.