How to download a single asset in its original format? | Community
Skip to main content
Level 2
September 16, 2023
Solved

How to download a single asset in its original format?

  • September 16, 2023
  • 2 replies
  • 815 views

Hi All,

 

I have a requirement for downloading a single asset in its original format without creating a zip extension.

For multiple asset selection and download, it will take the default behaviour.

 

Can you please tell me how to override the OOTB AsssetDownload servlet to make the single asset download feasible?

 

Thanks in Advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by A_H_M_Imrul

Hello @kaibalyajena_123,

 

Try this:

http://localhost:4502/content/dam/image-path/image-name/jcr:content/renditions/original

 

if you are generating the path problematically you need to know the actual image-path including the image-name

 

Thanks

 

2 replies

A_H_M_Imrul
Community Advisor
A_H_M_ImrulCommunity AdvisorAccepted solution
Community Advisor
September 16, 2023

Hello @kaibalyajena_123,

 

Try this:

http://localhost:4502/content/dam/image-path/image-name/jcr:content/renditions/original

 

if you are generating the path problematically you need to know the actual image-path including the image-name

 

Thanks

 

DPrakashRaj
Community Advisor
Community Advisor
September 17, 2023

It will only be down loaded in zip format however on download GUI you have option to select if you want only original assets to be downloaded. If you want to automate this then curl command will be handy.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/download-assets-or-folders-directly-from-dam/td-p/325325