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

cancel
Showing results for 
Search instead for 
Did you mean: 
dsingaraju
Member II

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

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
prachi_shah_c2
Active Member II

Re: 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

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

abhinavmishra14
Advanced

Re: 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

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)
nehasingh
Member II

Re: Can I use folder path to upload a file into Alfresco using Rest API or any other service. If ye

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
Advanced

Re: Can I use folder path to upload a file into Alfresco using Rest API or any other service. If ye

See the steps here: https://hub.alfresco.com/t5/ecm-archive/alfresco-chrome-extension-to-upload-files/m-p/105963

 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)