Download assets or folders directly from DAM

Avatar

Avatar

ramgopalm545617

Avatar

ramgopalm545617

ramgopalm545617

31-10-2019

Hi,

we have a requirement to download the full folder of the images to my local system, we can't achieve it by using package manager, as the package will contain all the context xml files and the images and pdf's are stored as renditions, which will not give the exact folder structure as well.

as shown in the below screenshots, if we select the folder using touch UI and click on download, it will download the images in a zip file with the folder hierarchy as in like a windows explorer, can we use any CURL command to directly trigger this kind of download in AEM.

1849506_pastedImage_0.png

1849507_pastedImage_1.png

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

01-11-2019

You can look into building the CURL command for that process using the article at [1]

[1] Using cURL with AEM

Answers (3)

Answers (3)

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

31-10-2019

UI console is triggering the event via

/libs/dam/gui/coral/components/admin/downloadasset/clientlibs/downloadasset/downloadasset.js

which is in turn using Download assets from AEM

Checking of it, you see below for /content/dam/we-retail/en/people folder

URL :

/content/dam/we-retail/en/people.assetdownload.zip/People.zip

Parameters :

{"path":["%2Fcontent%2Fdam%2Fwe-retail%2Fen%2Fpeople"],"_charset_":"utf-8","downloadAssets":"true","downloadRenditions":"false","downloadSubassets":"undefined","flatStructure":"true","licenseCheck":"true","s7exportsettings":""}

Avatar

Avatar

simoneb20672152

Avatar

simoneb20672152

simoneb20672152

31-10-2019

Have a look at Assets HTTP API

Avatar

Avatar

simoneb20672152

Avatar

simoneb20672152

simoneb20672152

31-10-2019

Have a look at Assets HTTP API