[
https://issues.apache.org/jira/browse/NET-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neil Aggarwal updated NET-151:
------------------------------
Attachment: FTPClient.patch.txt
Patch for FTPClient
> [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
> Attachments: FTPClient.patch.txt
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]