wget https://some.url/with/a/file.txt
Returns No such file or directory
despite file.txt
being present at the location (can be downloaded via browser). Also the directory to save to is writeable by the user running the command.
There are a lot of related threads but nothing helped.
Finally found out there is an illegal character in front of the url!
That was so hard to find I post it here in case anyone stumbles upon the same.
Close the terminal and try again to run the script.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.