Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Error #37
From: Коваленко Анатолий Викторович via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 7 Apr 2020 13:55:15 +0300
Date: Tue, 7 Apr 2020 13:55:15 +0300
cURL can not get access to local file with percent symbol (%) in path.
MS Windows 10, PowerShell 7.0.0.
1) Explicit space in file name:
& .\curl.exe -# -o OutPut -r 0-0 "FILE://C:\Tst\Tst .exe"
OK
2) Encoded space (%20) in file name:
& .\curl.exe -# -o OutPut -r 0-0 "FILE://C:\Tst\Tst%20.exe"
curl: (37) Couldn't open file C:\Tst\Tst%20.exe
3) Additional double quotes:
& .\curl.exe -# -o OutPut -r 0-0 """FILE://C:\Tst\Tst%20.exe"""
curl: (37) Couldn't open file C:\Tst\Tst%20.exe
Is it bug or feature?
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-04-07