Complete a DEMO example by calling the alfresco API to implement file upload and create to alfresco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2017 03:42 AM
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~~
Labels:
- Labels:
-
Alfresco Content Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2017 01:16 AM
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
