How to upload a zip file (Package) from AWS S3 bucket to AEM (Should be uploaded as a package in Package Manager)?
Using cURL or Java API the solution is required.
Thank you!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @Joy786
Uploading a file from S3 into AEM will need to be a 2 step process. Download the object from S3 as a stream and then Upload it into AEM. Let us now look at them individually:
Downloading object from S3 - Refer to the script at https://github.com/paulhammond/s3simple
Uploading the file to AEM - Refer to the example curl scripts at https://helpx.adobe.com/experience-manager/kb/common-AEM-Curl-commands.html
Upload a new package
curl -u admin:admin -F package=@"name_of_package.zip" http://localhost:4502/crx/packmgr/service/.json/?cmd=upload
Hope this helps!
Thanks!
Hi @Joy786
Uploading a file from S3 into AEM will need to be a 2 step process. Download the object from S3 as a stream and then Upload it into AEM. Let us now look at them individually:
Downloading object from S3 - Refer to the script at https://github.com/paulhammond/s3simple
Uploading the file to AEM - Refer to the example curl scripts at https://helpx.adobe.com/experience-manager/kb/common-AEM-Curl-commands.html
Upload a new package
curl -u admin:admin -F package=@"name_of_package.zip" http://localhost:4502/crx/packmgr/service/.json/?cmd=upload
Hope this helps!
Thanks!
Thanks for your reply @Fanindra_Surat !
I would need the zip (package) to be imported as a package in AEM Package Manager. Just updated my query.