com.enterprisedt.net.ftp.pro
Class ProFTPControlSocket

java.lang.Object
  extended by com.enterprisedt.net.ftp.FTPControlSocket
      extended by com.enterprisedt.net.ftp.pro.ProFTPControlSocket

public class ProFTPControlSocket
extends FTPControlSocket

Implements IPV6 EPRT and EPSV commands

Version:
$Revision: 1.5 $
Author:
Bruce Blackshaw

Field Summary
 
Fields inherited from class com.enterprisedt.net.ftp.FTPControlSocket
autoPassiveIPSubstitution, CONTROL_PORT, controlSock, cvsId, 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  void setDataPort(java.net.InetAddress host, short 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|
 
Methods inherited from class com.enterprisedt.net.ftp.FTPControlSocket
close, initStreams, logout, newActiveDataSocket, newPassiveDataSocket, 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

setDataPort

protected void setDataPort(java.net.InetAddress host,
                           short portNo)
                    throws java.io.IOException,
                           FTPException
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|

Overrides:
setDataPort in class FTPControlSocket
Parameters:
host - the local host the server will connect to
portNo - the port number to connect to
Throws:
java.io.IOException
FTPException

createDataSocketPASV

protected com.enterprisedt.net.ftp.internal.FTPDataSocket createDataSocketPASV()
                                                                        throws java.io.IOException,
                                                                               FTPException
Request a data socket be created on the server, connect to it and return our connected socket.

Overrides:
createDataSocketPASV in class FTPControlSocket
Returns:
connected data socket
Throws:
java.io.IOException
FTPException


Copyright © 2001-2006 Enterprise Distributed Technologies Ltd. All Rights Reserved.