Re: AW: AW: Problem mirroring a site using ftp over proxy

2008-08-12 Thread Hrvoje Niksic
Juon, Stefan [EMAIL PROTECTED] writes:

 I just noticed these debug messages:

 **
 DEBUG output created by Wget 1.10.2 on cygwin.

You are of course aware that this is not the latest Wget (1.11.4)?
As mentioned before, recursive download over FTP proxy was broken
prior to Wget 1.11.

 The point is that wget sends rather a http request than a pure ftp
 command

That's how proxying FTP normally works.


Re: AW: AW: Problem mirroring a site using ftp over proxy

2008-08-08 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Juon, Stefan wrote:

 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?

Well of course it does: it's using an HTTP proxy. How do you send FTP
commands over HTTP?

The problem isn't that the result is an HTML file; the problem is that
the proxy sends an HTML file that Wget apparently can't parse. Perhaps
the proxy's not really sending an HTML file at all, which would be
unusual (but I'm not sure there are standards governing how FTP gets
proxied across HTTP), in which case Wget would need to be modified to
check whether the proxied results are a listing file. But until you show
us what index.html file Wget is getting, I don't see how we can help.

- --
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

iD8DBQFInJpC7M8hyUobTrERAhGtAJ9/cY3nJk8xf1oWb+KCH8mQ54nXNACgg/is
xD3eHrajIfnUDaRhnFI+X+s=
=g1QP
-END PGP SIGNATURE-