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
Use %%20 instead of space if it is in the windows batch file. As %20 in batch file means 20th parameter. So for encoding % is used %%.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With