How to use alfresco API to Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco!!!please ! help~~
Hi,
You can also upload using file using curl
curl -v -X POST -F filedata=@yourDoc.doc -F siteid=testSite-F containerid=documentLibrary -F uploaddirectory=/uploads http://username:password@localhost:8080/alfresco/service/api/upload
This will upload your file yourdoc.doc into documentLibrary/uploads within the specific Share site (testSite). Note that the user who is uploading the document must have the member of that Share site with contributor permission.
Thanks,
Kalpesh,
ContCentric
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.