wget the destination name is too long error

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
aidink
Posts: 1
Joined: Tue Aug 20, 2024 3:20 pm America/New_York
Answers: 0

wget the destination name is too long error

by aidink » Tue Aug 20, 2024 3:27 pm America/New_York

Hello,

I encountered an issue when using wget for geo-spatial subsetting. The download is failing, possibly due to the length of the link, which is 318 characters.
Simple code:

"%wget_path%" --load-cookies "%base_dir%\.urs_cookies" --save-cookies "%base_dir%\.urs_cookies" --keep-session-cookies --user=%username% --ask-password --content-disposition -i "%url_file%"

It worked only once for me and then it stopped working. Anyone experienced it and what the solution was for you?

Filters:

Post Reply