|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.enterprisedt.net.ftp.FTPControlSocket
Supports client-side FTP operations
Constructor Summary | |
FTPControlSocket(java.net.InetAddress remoteAddr,
int controlPort,
java.io.PrintWriter log,
int timeout)
Constructor. |
|
FTPControlSocket(java.lang.String remoteHost,
int controlPort,
java.io.PrintWriter log,
int timeout)
Constructor. |
Method Summary | |
void |
logout()
Quit this FTP session and clean up. |
protected byte[] |
toByteArray(short value)
Convert a short into a byte array |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FTPControlSocket(java.lang.String remoteHost, int controlPort, java.io.PrintWriter log, int timeout) throws java.io.IOException, FTPException
remoteHost
- Remote hostnamecontrolPort
- port for control streamlog
- the new logging streampublic FTPControlSocket(java.net.InetAddress remoteAddr, int controlPort, java.io.PrintWriter log, int timeout) throws java.io.IOException, FTPException
remoteAddr
- Remote inet addresscontrolPort
- port for control streamlog
- the new logging streamMethod Detail |
public void logout() throws java.io.IOException
java.io.IOException
protected byte[] toByteArray(short value)
value
- value to convert
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |