Remote data set and proxy

It could be possible that I could have some problems to download a remote data set (e.g. @earth_relief_10m) If I am working on a pc with proxy? If so, how can I solve it?

Thanks.

Are you able to run curl on the command line and copy a file from any https site e.g,

curl -k -s http://oceania.generic-mapping-tools.org/cache/ridge.txt > tmp

I assume this will fail since this is basically what we do. See curl man age regarding proxy handling and try add the required options and maybe we will need to add those in GMT.

Thanks. I will let you know when I try it.

Finally I manage to access the remote data set working on a PC with proxy.

I just add this command at the beginning of my scipt:

export http_proxy="http://proxy.fcen.uba.ar:8080"

My proxy address is: http://proxy.fcen.uba.ar and my port number: 8080.

Maybe this could be clarified somewhere in the docs. In my case I don’t have username or password.

Source: https://oxylabs.io/blog/curl-with-proxy

1 Like