I see the exact same problem:

$ wget --debug -m
ftp://ftp-linux.cc.gatech.edu/slackware/slackware-9.0/patches/
DEBUG output created by Wget 1.8.2 on linux-gnu.

--14:25:49--  ftp://ftp-linux.cc.gatech.edu/slackware/slackware-9.0/patches/
           =>
`ftp-linux.cc.gatech.edu/slackware/slackware-9.0/patches/index.html'
Connecting to 192.168.50.83:81... connected.
Created socket 3.
Releasing 0x807f4c0 (new refcount 0).
Deleting unused 0x807f4c0.
---request begin---
GET ftp://ftp-linux.cc.gatech.edu/slackware/slackware-9.0/patches/ HTTP/1.0
User-Agent: Wget/1.8.2
Host: ftp-linux.cc.gatech.edu
Accept: */*
Proxy-Authorization: Basic cnp0c2drOnAxbWFpbnRo

---request end---
Proxy request sent, awaiting response... HTTP/1.0 200 OK
Mime-Version: 1.0
Server: Application and Content Networking System Software 4.2.9
Content-Type: text/html
X-protocol: ftp
Date: Wed, 02 Jul 2003 18:26:00 GMT
Connection: Close


Length: unspecified [text/html]

    [ <=>                                                     ] 1,587
1.51M/s

Closing fd 3
Last-modified header missing -- time-stamps turned off.
14:26:00 (1.51 MB/s) -
`ftp-linux.cc.gatech.edu/slackware/slackware-9.0/patches/index.html' saved
[1587]


FINISHED --14:26:00--
Downloaded: 1,587 bytes in 1 files


Mark Post

-----Original Message-----
From: Hans Deragon (LMC) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 2:11 PM
To: '[EMAIL PROTECTED]'
Subject: wget: ftp through http proxy not working with 1.8.2. It does wo
rk with 1.5.3


Greetings.


  I read many emails in different archives on the net regarding my isssue,
but never found a solution to my problem.  Here is the description:

  I am trying to mirror an ftp site though and http proxy.  I have the
following setting on both my RH machine running wget 1.8.2 and Solaris
machine running wget 1.5.3 (actual /etc/wgetrc file is the same on both
machine and I do not have ~/.wgetrc on any of the machines):

http_proxy = http://proxy.hostname.com:80/
ftp_proxy = http://proxy.hostname.com:80/
use_proxy = on

  Ok, proxy.hostname.com is not the real URL I use, but believe me that the
one I am using is the right one.  The port numbers are valid and only port
80 is opened, thus both http and ftp request most go through port 80.

  Now, when I run say:

    wget --mirror -np --cut-dirs=2 ftp://ftp.ox.ac.uk/pub/wordlists/

  On my RH machine running wget 1.8.2, only the index.html file is
downloaded.  On my Solaris machine running wget 1.5.3, all the files under
pub/wordlists get downloaded.

  Anybody got a clue what the problem is?  Is it that wget 1.8.2 is more
compliant to a standard and my proxy is bogus and I am just lucky it works
with version 1.5.3?  Is there a configuartion parameter missing in my
/etc/wgetrc?  Or is it a known problem with version 1.8.2?  I am a newbie
with wget, so the mistake is probably on my side, but I cannot figure what
it is.


Regards,
Hans Deragon

Reply via email to