Trying to download a file through CMD line but I have spaces in the filename preventing the download.
curl --request GET -v --user user$site:password https://www.whatever.com/uploads/Filename With Spaces.csv > /users/kanye_west/desktop/FilenameWithSpaces.csv
Tried escaping the spaces with backslash \ already to no avail
"https://www.whatever.com/uploads/Filename%20With%20Spaces.csv", where%20means space.curlwill pass the spaceas isand web service will not know how to handle the space. Hence the need to encode the spaces.