3
I am using Cygwin64 on Windows 10 to download files via Wget from NASA’s Earthdata website. I seem to be following the correct procedure as explained on their website, but for some reason, Wget is not downloading the files. I just see a blinking cursor.
wget -q --spider machine urs.earthdata.nasa.gov
touch .netrc
echo "machine urs.earthdata.nasa.gov login baloch444 password *********" >> .netrc
touch .urs_cookies
wget --load-cookies .urs_cookies --save-cookies .urs_cookies --auth-no-challenge=on --keep-session-cookies --content-disposition --no-check-certificate --user=baloch444 --ask-password -I myfile.dat
1have you tried the obvious.. do
wget http://blah/blah.html
See if that works no blinking cursor. Then try adding stuff. Then that may help you figure out what is wrong with your command – barlop – 2020-01-06T03:39:07.5771
Why are you using
– JakeGould – 2020-01-06T03:57:12.510machine urs.earthdata.nasa.gov
instead of the more basic,https://urs.earthdata.nasa.gov
? So your command would bewget -q --spider
https://urs.earthdata.nasa.gov%60. Also, what version of Wget are you using? Their site mentions differences between how to use Wget 1.11.1 and higher versus Wget 1.11 and lower.1Yes, Jake you are right, machine was causing the problem, I changed it to https, and it's working now. Thank you for your help. – Saad – 2020-01-06T04:15:14.627
1@JakeGould can you post that as an answer for Saad to accept? Thanks – Mawg says reinstate Monica – 2020-01-06T07:29:45.643
@Saad Answer posted. If it helped you, please be sure to upvote it. And if it is the answer that solved your problem, please be sure to check it off as such. – JakeGould – 2020-01-07T15:08:56.307