Micah Cowan wrote:
Then, how was --http-user, --http-passwd working in the past? Those only
work with the underlying HTTP authentication protocol (the brower's
unattractive popup dialog), which AFAIK can't be affected by CGI forms
or JavaScript, etc.

I must admit that I don't understand how it works - only Sun knows, I guess. Fact is that it accepts basic auth when it's being pushed at it by wget. In the meantime I found out that it seems to look at the User-Agent header as well - it behaves differently with Wget/1.10.2 and Wget/1.11. As they don't document anything, and provide no official interface for patch downloads, one can only guess what's going on.

Anyway, I'm now using a crude hack which actually makes the combination of wget v1.11 and sunsolve work, see:

  http://www.par.univie.ac.at/solaris/pca/news.html#20080208

Even so, simulating form posts with Wget is possible, with --post-data
or --post-file. It's not as complete as it should be, but it is
technically capable of doing almost everything.

Thanks - I might take that route in the future. Right now I feel I have wasted enough time with Sun's stupidity.

You can ignore my request for a change in wget's behaviour. Looks as if it does everything right, and it's really only sunsolve's fault.

Thanks for listening,

Martin.
--
                         Martin Paul | Systems Administrator
   Institute of Scientific Computing | [EMAIL PROTECTED]
 Nordbergstrasse 15/C/3, A-1090 Wien | Tel: 01 4277 39403
        http://www.par.univie.ac.at/ | Fax: 01 4277 9394

Reply via email to