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:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  CZ Huang Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.11.4
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None

Add a New Comment(Rich 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 -email is 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3