I'm unable to upload the file from unix box to Microsoft sharepoint URL
The commands are executed, but the file is not getting uploaded to the URL
curl --ntlm --user [email protected]:******** --upload-file test_file.xls https://wincshare.sharepoint.com/BOCC%20Documents/test_file.xls
-bash-3.2$ curl -T test_file.xls -o test_file.xls -u "[email protected]" "https://wincshare.sharepoint.com/BOCC%20Documents/" Enter host password for user '[email protected]': % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2705 0 13 100 2692 10 2135 0:00:01 0:00:01 --:--:-- 15742 -bash-3.2$
But, the file test_file.xls, is not getting uploaded.
Please help me out here
Regards