jumaris / indyproject

Automatically exported from code.google.com/p/indyproject
0 stars 0 forks source link

Support EPRT/EPSV to use different IPVersion than control connection #298

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TIdFTPServer restricts EPRT and EPSV to use the same IPVersion that is used for 
the command connection making the request.  There is no such restriction in RFC 
2428, which defines those commands.

For example, Microsoft's command-line FTP client suffers from this problem.  It 
may try to transfer files using IPv6 even if it connected using IPv4.

This limitation needs to be removed from TIdFTPServer.

Original issue reported on code.google.com by gambit47 on 20 Nov 2014 at 1:30

GoogleCodeExporter commented 9 years ago
EPRT and EPSV transfers now work with both IPv4 and IPv6 regardless of the IP 
version used by the command connection.

Original comment by gambit47 on 22 Nov 2014 at 7:16