I'm able to upload files from linux to sharepoint using something like this curl -u "Domain\Account":'Password' --ntlm -k -T report.xls https://portal.company.com/test_site/test_doc/

I would like to update a column name client with a switch like

-f "client=myclient" or -d "client=myclient"

But I can't seem to make it work. Is there anyway to use curl update a library column?


You could create a cURL job to invoke SharePoint REST services after uploading the document. The SharePoint REST services would allow you to update the document metadata. I don't have a specific example directly using SharePoint, but there are lots of resources out there about invoking REST services with cURL.

cURL and REST Services

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.