|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.enterprisedt.net.ftp.FTPControlSocket
com.enterprisedt.net.ftp.pro.ProFTPControlSocket
public class ProFTPControlSocket
Implements IPV6 EPRT and EPSV commands
| Field Summary |
|---|
| Fields inherited from class com.enterprisedt.net.ftp.FTPControlSocket |
|---|
autoPassiveIPSubstitution, CONTROL_PORT, controlSock, cvsId, dataChannelCallback, forcedActiveIP, listenOnAllInterfaces, MAX_ACTIVE_RETRY, reader, remoteAddr, writer |
| Method Summary | |
|---|---|
protected com.enterprisedt.net.ftp.internal.FTPDataSocket |
createDataSocketPASV()
Request a data socket be created on the server, connect to it and return our connected socket. |
protected com.enterprisedt.net.ftp.internal.FTPDataSocket |
newActiveDataSocket(int port)
Constructs a new FTPDataSocket object (server mode) which
will listen on the given port number. |
protected com.enterprisedt.net.ftp.internal.FTPDataSocket |
newPassiveDataSocket(java.lang.String remoteHost,
int port)
Constructs a new FTPDataSocket object (client mode) and
connect to the given remote host and port number. |
protected void |
setDataPort(java.net.InetAddress host,
int portNo)
Sets the data port on the server, that is, sends a EPRT command for IPV6 addresses, for example, EPRT |2|1080::8:800:200C:417A|5282| |
protected boolean |
usingProxy()
|
| Methods inherited from class com.enterprisedt.net.ftp.FTPControlSocket |
|---|
close, initStreams, logout, sendCommand, setActivePortRange, setAutoPassiveIPSubstitution, toByteArray, validateReply, validateReply, validateReply |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected boolean usingProxy()
usingProxy in class FTPControlSocket
protected void setDataPort(java.net.InetAddress host,
int portNo)
throws java.io.IOException,
FTPException
setDataPort in class FTPControlSockethost - the local host the server will connect toportNo - the port number to connect to
java.io.IOException
FTPException
protected com.enterprisedt.net.ftp.internal.FTPDataSocket createDataSocketPASV()
throws java.io.IOException,
FTPException
createDataSocketPASV in class FTPControlSocketjava.io.IOException
FTPException
protected com.enterprisedt.net.ftp.internal.FTPDataSocket newPassiveDataSocket(java.lang.String remoteHost,
int port)
throws java.io.IOException
FTPDataSocket object (client mode) and
connect to the given remote host and port number.
newPassiveDataSocket in class FTPControlSocketremoteHost - Remote host to connect to.port - Remote port to connect to.
FTPDataSocket object (client mode) which is
connected to the given server.
java.io.IOException - Thrown if no TCP/IP connection could be made.
protected com.enterprisedt.net.ftp.internal.FTPDataSocket newActiveDataSocket(int port)
throws java.io.IOException
FTPDataSocket object (server mode) which
will listen on the given port number.
newActiveDataSocket in class FTPControlSocketport - Remote port to listen on.
FTPDataSocket object (server mode) which is
configured to listen on the given port.
java.io.IOException - Thrown if an error occurred when creating the socket.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||