commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal (JIRA)" <j...@apache.org>
Subject [jira] Created: (NET-151) [PATCH] Allow user to force passive connections to use connected host in FTPClient
Date Tue, 13 Feb 2007 05:25:06 GMT
[PATCH] Allow user to force passive connections to use connected host in FTPClient
----------------------------------------------------------------------------------

                 Key: NET-151
                 URL: https://issues.apache.org/jira/browse/NET-151
             Project: Commons Net
          Issue Type: Improvement
    Affects Versions: 2.0
         Environment: Windows XP, Java 1.5.0, Intel processor
            Reporter: Neil Aggarwal


Currently, FTPClient always uses the host and port returned to it from the reply to a passive
connection request.
Some FTP hosts are set incorrectly or are set behind a NAT so they report the incorrect IP
address to use for the connection and the transfer will fail to connect.
This patch allows the user to tell FTPClient to use the connected host instead of the host
given from the passive reply.
Doing so will allow successful transfers even when the report FTP server returns an incorrect
IP address.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message