Page 1 of 1

wget the destination name is too long error

Posted: Tue Aug 20, 2024 3:27 pm America/New_York
by aidink
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?