[jira] Created: (NET-288) FTP should support IPv6

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NET-288) FTP should support IPv6

Gary D. Gregory (Jira)
FTP should support IPv6
-----------------------

                 Key: NET-288
                 URL: https://issues.apache.org/jira/browse/NET-288
             Project: Commons Net
          Issue Type: Improvement
            Reporter: Derek Morr
         Attachments: ftp_ipv6.patch

The FTP module does not support FTP over IPv6, defined in RFC 2428.

I've written a patch to add support for the EPRT and EPSV commands to the FTP class, and modifed the FTPClient class to try them before falling back to PORT and PASV. This is common behavior in many FTP clients.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-288) FTP should support IPv6

Gary D. Gregory (Jira)

     [ https://issues.apache.org/jira/browse/NET-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Derek Morr updated NET-288:
---------------------------

    Attachment: ftp_ipv6.patch

> FTP should support IPv6
> -----------------------
>
>                 Key: NET-288
>                 URL: https://issues.apache.org/jira/browse/NET-288
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Derek Morr
>         Attachments: ftp_ipv6.patch
>
>
> The FTP module does not support FTP over IPv6, defined in RFC 2428.
> I've written a patch to add support for the EPRT and EPSV commands to the FTP class, and modifed the FTPClient class to try them before falling back to PORT and PASV. This is common behavior in many FTP clients.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (NET-288) FTP should support IPv6

Gary D. Gregory (Jira)
In reply to this post by Gary D. Gregory (Jira)

     [ https://issues.apache.org/jira/browse/NET-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rory Winston closed NET-288.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Thanks! I've applied the patch, with some changes.

I have defaulted for now to make PASV (and not EPSV) the default, unless an IPv6 connection is being used.

> FTP should support IPv6
> -----------------------
>
>                 Key: NET-288
>                 URL: https://issues.apache.org/jira/browse/NET-288
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Derek Morr
>             Fix For: 2.1
>
>         Attachments: ftp_ipv6.patch
>
>
> The FTP module does not support FTP over IPv6, defined in RFC 2428.
> I've written a patch to add support for the EPRT and EPSV commands to the FTP class, and modifed the FTPClient class to try them before falling back to PORT and PASV. This is common behavior in many FTP clients.

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