我想在Windows設備上使用CURL,但無法找到在特定位置上傳文件的正確語法,希望有人可能擁有一個主意。Curl for Windows - curl無法打開文件C: test.txt
目前我正在嘗試的語法如下;
curl --proxy-ntlm --proxy-user domain\username:password --proxy proxy.server:80 -vk 'filename=hello.txt' -F '[email protected]:\hello.txt' https://upload.site
但是,所有我得到背部curl: (26) couldn't open file "C:\hello.txt"
我已經試過@C:\\ hello.txt的,@C:/hello.txt,@ 「C:\ hello.txt的」,但仍得到相同的錯誤。
有沒有人有任何想法,我可能會出錯?我不能相信它應該像我這樣做是困難的:-)
是文件_C:\ hello.txt_當前和可讀性? – CristiFati