Vernon, Clayton wrote:
> I'm having all kinds of difficulties downloading from servlets.
>
> Here is a script for a URL that works in a browser to donload a ZIP
> file but doesn't work via Wget
>
> http://oasis.caiso.com/servlet/SingleZip?nresultformat=5&squeryname=SLD_LOAD
> _MW&sxslname=SLD_LOAD_MW&dstartdate=20010810&denddate=20010810&sload_type='A
> SL','SSL'&ssched_class=N
>
> but
>
> wget
> http://oasis.caiso.com/servlet/SingleZip?nresultformat=5&squeryname=SLD_LOAD
> _MW&sxslname=SLD_LOAD_MW&dstartdate=20010810&denddate=20010810&sload_type='A
> SL','SSL'&ssched_class=N
>
> doesn't work- gives me an error back from the destination server
> saying I didn't provide parameters which I did, in fact, provide.
>
> I am behind a proxy server, by the way My more straightforward
> downloads are working fine.
>
> Thanks for any help you might provide.
It is possible that your shell is interpreting certain characters, so that what
you type is not what wget sees. You might try some form of quoting (difficult,
since your URL contains single quotes), or placing the url in a file and using
wget -i file.
Max.