commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Resolved] (NET-480) Wrong passivHost when using FTPHTTPClient with EPSV
Date Wed, 23 Jan 2013 00:36:13 GMT


Sebb resolved NET-480.

       Resolution: Fixed
    Fix Version/s: 3.3

Finally got around to looking at this again.
It looks like the work-round you used is necessary, so committed it:

NET-480 Wrong passivHost when using FTPHTTPClient with EPSV


> Wrong passivHost when using FTPHTTPClient with EPSV
> ---------------------------------------------------
>                 Key: NET-480
>                 URL:
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>         Environment: All Systems with ftp Access over http
>            Reporter: Peter Naber
>             Fix For: 3.3
>         Attachments:
> At the FTPHTTPClient Class in line 99 the Answer from the EPSV Command will parse to
receive the Data port and the passiv Host.
> \_parsePassiveModeReply(\_replyLines.get(0))
> In this function the \_\_passivHost is set to the remoteAddress, but this address is
determine by "this.\_socket\_.getInetAddress();" and the socket is the socket of the proxy
Server and NOT of the ftp Server.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message