bugGNU Wget - Bugs: bug #36402, Issue with ftp proxy

 
 

bug #36402: Issue with ftp proxy

Submitted by:  None
Submitted on:  Sat 05 May 2012 12:22:48 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: CZ HuangOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.11.4
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 05 May 2012 12:22:48 AM UTC, original submission:

Without using ftp proxy, 'wget "ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz"' works fine:

huangj@tst-lintools-1 [~]
{1018} $ export ftp_proxy=

huangj@tst-lintools-1 [~]
{1019} $ wget "ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz"
--2012-05-04 15:57:52-- ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
=> `02packages.details.txt.gz.2'
Resolving ftp.perl.org... 64.27.65.115, 204.157.3.70
Connecting to ftp.perl.org|64.27.65.115|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/CPAN/modules ... done.
==> SIZE 02packages.details.txt.gz ... 1262393
==> PASV ... done. ==> RETR 02packages.details.txt.gz ... done.
Length: 1262393 (1.2M)

But with proxy, the same command would not work because wget uses -unavailable- as user instead of just anonymous:

huangj@tst-lintools-1 [~]
{1020} $ export ftp_proxy=ftp://localhost:2122

huangj@tst-lintools-1 [~]
{1021} $ wget "ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz"
--2012-05-04 16:01:16-- ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
=> `02packages.details.txt.gz.3'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:2122... connected.
Logging in as anonymous ...
Login incorrect.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup