|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3421912 ] unable to force PORT usage, --disable-eprt ineffective
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 11 Oct 2011 14:31:06 -0500
Bugs item #3421912, was opened at 2011-10-11 14:31
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
After a couple hours of "but the documentation says --disable-eprt will force use of PORT in FTP sessions" and searching the web and experimentation, I grabbed the source. *Very* disappointed to find
/home/Tom/temp/curl-7.22.0/lib/ftp.c
curl currently will ignore any explicit command line option to the contrary and use EPRT if connecting to an ipv6-enabled host. Connecting to a defaulted modern Linux will find both ipv4 and ipv6 enabled. It is impossible to force use of PORT using the identified options.
Well, unless you *also* specify the -4 option to first force ipv4 usage. That is,
./curl --verbose --ftp-port - --disable-eprt --list-only ftp://Tom:@localhost:2121/
will still use EPRT, not PORT, but
./curl --verbose -4 --ftp-port - --disable-eprt --list-only ftp://Tom:@localhost:2121/
will work to force use of PORT.
If a user says --disable-foo how can it ever be appropriate to 'foo' ? In this case, the association between EPRT and ipv6 _should_ have been interpreted to mean that ipv6 should have been disabled also. Or so it would seem...
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info