cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use folder path to upload a file into Alfresco using Rest API or any other service. If yes can you please provide details

dsingaraju
Champ in-the-making
Champ in-the-making

There is a requirement in the project that the calling application do not have guids and there is possibility of duplicate folder names. 

Can I use the REST API with folder path to upload the files to a specific folder with guid.

If yes, can you please point to  API (url) and documentation.

Thanks in advance.

Regards

Dilip

4 REPLIES 4

prachi_shah_c2
Confirmed Champ
Confirmed Champ

Hi dilip singaraju‌,

  1. Please look this http://localhost:8080/alfresco/s/script/org/alfresco/repository/upload/upload.post there are multiple option like  "uploaddirectory" parameter which accept folderPath OR  "destination" parameter which accept folder NodeRef.
  2. Another approach Alfresco Chrome Extension to upload files!. This Chrome Extension might be helpful to you

Thanks,

Prachi shah

ContCentric

How can i use it with AlfrescoUP (Alfresco file uploader) - Chrome Web Store this. do i need to create a java program for it.

abhinavmishra14
World-Class Innovator
World-Class Innovator

Follow as Prachi mentioned, additionally you can look at this post as well for more details: https://javaworld-abhinav.blogspot.com/2014/09/upload-documents-to-alfresco-using-rest.html

~Abhinav
(ACSCE, AWS SAA, Azure Admin)