Is it possible to get or download alfresco file by its file name not by id?

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

Is it possible to get or download alfresco file by its file name not by id?

My requirement is - download a document by its name

2 Replies
krutik_jayswal
Senior Member II

Re: Is it possible to get or download alfresco file by its file name not by id?

If you think logically, There can be many files inside alfresco repository with the same name.So its not possible to download a file using only name.But if you give a full path of a file it is possible.You need to develop a api for the same.

One way would be developing an abstract webscript which will download a file using path.

cesarista
Customer

Re: Is it possible to get or download alfresco file by its file name not by id?

Instead of developing a custom webscript, try to download it via webdav protocol for example.

Regards.

--C.