Re: webget [message #54722] |
Mon, 09 July 2007 00:29 |
Wox
Messages: 184 Registered: August 2006
|
Senior Member |
|
|
1. Setting environment variables in Windows: right-click "My Computer"
> Advanced > Environment variables
2. Do you set a PROXY in your web browser? If not, you don't need it.
3. Can't you allow IDL to access the web in your firewall?
On Sat, 07 Jul 2007 04:45:06 -0700, Vince Oliver
<vince@complex.elte.hu> wrote:
> Hi All,
>
> Again in 'trouble' with IDL so I am consuting you. I am bad in
> compurers/programing so I do apologize if the question is naive.
>
>
> I use IDL under Windows. I am trying to download some spectra from:
>
> http://das.sdss.org/DR6/data/spectro/1d_25/0270/1d/
>
> using WEBGET function. It works BUT only when the firewall is off. I
> do not want to do that of course. In header of WEBGET func I found
> that I should do this:
>
> "
> ; PROXY: If you are behind a firewall and have to access the net
> through a
> ; Web proxy, set the environment variable 'http_proxy' to
> point to
> ; your proxy server and port, e.g.
> ; 'setenv http_proxy=http://web-proxy.mpia-hd.mpg.de:3128'
> "
>
> 1. First, I am not sure what is proxy server and port that I should
> put use. At the end of the web address I gave above writes something
> so I suppose I should put:
>
> 'setenv http_proxy=http://das.sdss.org:80'
>
> Is this ok?
>
> 2. Isn't the 'setenv' a UNIX csh command? I can not use it under
> Windows, right? I have Cygwin ... does it help? What I should do in my
> case?
>
>
>
> Thanks many
> oliver
|
|
|