Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

downloading the dam version file with the actual file name

Avatar

Level 2

Hello everybody,

I have a requirement where I need to download the dam content based on the version

when I see the version content jcr:data property at /jcr:system/jcr:versionStorage/37/f7/37/37f73762-5c32-45d2-8cd8-8ae2abd2927c/1.0/jcr:frozenNode/jcr:content/renditions/original/jcr:content node it has jcr:data property with view link

when I hover on view link I could see the path is being sent to download.jsp which is downloading the file but it is storing the filename as jcr%acontent 

http://localhost:4502/crx/de/download.jsp?path=jcr:data property at /jcr:system/jcr:versionStorage/37/f7/37/37f73762-5c32-45d2-8cd8-8ae2abd2927c/1.0/jcr:frozenNode/jcr:content/renditions/original/jcr:content

I need to store the file with the actual file name

1 Accepted Solution

Avatar

Correct answer by
Level 10

OOB, thats how the renditions of an image are stored.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

OOB, thats how the renditions of an image are stored.

Avatar

Level 2

Thanks for the reply !!

but how I can download the file version with the actual filename in to local machine ?