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

cURL commands in AEM6.0

Avatar

Level 1

HI,

 

I have been using cURL commands in CQ5.6 to upload & download packages. Now I am trying to use them in AEM6 and download command doesnt work.

I have executed the below command

curl -u admin:adm!nn0wn http://localhost:4508/etc/packages/my_packages/xxxx.zip > xxxx.zip

and it just returns a 0 byte file. Is there any way to download packages through commands in AEM6.0

1 Accepted Solution

Avatar

Correct answer by
Administrator

HI Deepak Chadha

The command Use by you is correct.

Please make sure that Server port is correct or Path of Package mentioned in correct Or User name Password is correct. For your Reference, please find few commands :-

Package Management Commands:  

For more Information please refer to: - http://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

5 Replies

Avatar

Correct answer by
Administrator

HI Deepak Chadha

The command Use by you is correct.

Please make sure that Server port is correct or Path of Package mentioned in correct Or User name Password is correct. For your Reference, please find few commands :-

Package Management Commands:  

For more Information please refer to: - http://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 1

I have checked syntax..it is not throwing any error but still downloading a 0 byte file

Avatar

Level 4

    Hi there, 

    I am facing the same issue. Did you resolve the issue?

    Thanks

    Nanda

Avatar

Level 9

Hi Nanda,

Verify the company proxy Or firewall settings. in case there is ELB make sure it is not timing out.

Thanks,