How to upload a zip file from AWS S3 bucket to AEM?
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!
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!
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!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.