|
||||||||||
| 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.ssl.SSLFTPControlSocket
public class SSLFTPControlSocket
SSLFTPControlSocket encapsulates the SSL/TLS control channel.
It extends FTPControlSocket, adding functionality for
constructing and controlling the secure control channel, as well as
creating secure data channel. Methods are package access
only - not for public use.
| Field Summary | |
|---|---|
static int |
IMPLICIT_FTPS_CONTROL_PORT
The default and standard control port number for implicit FTPS |
| 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 | |
|---|---|
void |
logout()
Quit this FTP session and clean up. |
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. |
void |
shutdownSSL()
|
protected boolean |
usingProxy()
|
| Methods inherited from class com.enterprisedt.net.ftp.FTPControlSocket |
|---|
close, createDataSocketPASV, initStreams, sendCommand, setActivePortRange, setAutoPassiveIPSubstitution, setDataPort, toByteArray, validateReply, validateReply, validateReply |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int IMPLICIT_FTPS_CONTROL_PORT
| Method Detail |
|---|
protected boolean usingProxy()
usingProxy in class FTPControlSocket
public void logout()
throws java.io.IOException
logout in class FTPControlSocketjava.io.IOException - Thrown if an I/O problem occured during closure.
public void shutdownSSL()
throws java.io.IOException,
FTPException
java.io.IOException
FTPException
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.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||