"Jiang Wei" <[EMAIL PROTECTED]> writes:

> I tried to download a whole directory in a FTP site by using `-r -np'
> options, and I have go through some firewall
> via http_proxy/ftp_proxy. But I failed, wget-1.8.1 only retrieved the
> first indexed ftp file list and stopped working, while wget-1.5.3 can
> download all files with same options.
> 
> I read some code of wget-1.8.1. Started from line 806 of src/main.c,
> wget determine url scheme, HTTP to call retrieve_tree() while FTP to
> call retrieve_url() without consideration for proxied FTP's HTTP
> scheme.

You're right.  We'll have to either move the decision whether to call
retrieve_tree into retrieve_url, or move the proxy logic out of
retrieve_url.

I'll try to fix this when I have the time.

Reply via email to