I just noticed these debug messages:

**********************************************************
DEBUG output created by Wget 1.10.2 on cygwin.

--15:49:45--  ftp://ftpde.nai.com/CommonUpdater/
           => `ftpde.nai.com/CommonUpdater/index.html'
Resolving ***** 192.168.182.76
Caching ***** => 192.168.182.76
Connecting to *****|192.168.182.76|:8080... connected.
Created socket 4.
Releasing 0x006a1390 (new refcount 1).

---request begin---
GET ftp://ftpde.nai.com/CommonUpdater/ HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: ftpde.nai.com

---request end---
Proxy request sent, awaiting response... 
---response begin---
HTTP/1.1 200 OK
Server: Sun-Java-System-Web-Proxy-Server/4.0
Date: Fri, 08 Aug 2008 13:49:46 GMT
Content-type: text/html
Proxy-agent: Sun-Java-System-Web-Proxy-Server/4.0
Via: 1.1 proxy-internet
Connection: close

---response end---
200 OK
Length: unspecified [text/html]

    0K ........                                                  7.11 MB/s

Closed fd 4
Last-modified header missing -- time-stamps turned off.
15:49:47 (7.11 MB/s) - `ftpde.nai.com/CommonUpdater/index.html' saved [8786]


FINISHED --15:49:47--
Downloaded: 8,786 bytes in 1 files
**********************************************************

The point is that wget sends rather a http request than a pure ftp command (GET 
ftp://ftpde.nai.com/CommonUpdater/ HTTP/1.0) which causes the proxy to send 
back a index.html. Do u agree? 

-----Ursprüngliche Nachricht-----
Von: Micah Cowan [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 7. August 2008 23:23
An: Juon, Stefan
Cc: wget@sunsite.dk
Betreff: Re: AW: Problem mirroring a site using ftp over proxy

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well, considering that FTP proxied over HTTP is working fine for me, it's 
probably more a matter of the index.html file that's generated by the proxy 
(since one can't do a true LIST over a proxy). Perhaps you could supply the 
index.html files that are being generated (be sure to clean out any sensitive 
info first).

It might also be informative to know what server program is doing the proxying.

- -Micah

Juon, Stefan wrote:
> ...problem exists also with version 1.11.4. So what might cause wget 
> not to download the files as it has performed a LIST?
> 
> Thanks, Stefan
> 
> Juon, Stefan wrote:
>> Hi there
>> I'm trying to mirror a ftp site over a proxy (Sun Java Webproxy 
>> 4.0.4)
> 
>> using this wget-command:
> 
>> export ftp_proxy=http://proxy.company.com:8080
>> wget --follow-ftp --passive-ftp --proxy=on --mirror 
>> --output-file=./logfile.wget ftp://ftpde.nai.com/CommonUpdater
> 
> What version of Wget are you running? If it's not the latest, please 
> try the current 1.11.4 release.
> 
> Please also try the --debug option, to see if Wget gives you more 
> information.
> 

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer.
GNU Maintainer: wget, screen, teseq
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIm2fF7M8hyUobTrERAv/BAJ9biwIIUFaIWZ9Ds7IZxiGAKriA7wCeJtn1
lYdaP8hzodianPg1Bp6b6gk=
=+HQo
-----END PGP SIGNATURE-----

Reply via email to