Skip to main content
Oct 16, 2015 2:29 AM UTC
Solved

cURL commands in AEM6.0

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 16, 2015 2:29 AM UTC

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

5 replies

smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC
Oct 16, 2015 2:29 AM UTC

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

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Oct 16, 2015 2:29 AM UTC

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

Translate
Kautuk Sahni
Nandujee
Level 3
Apr 10, 2017 12:59 PM UTC

    Hi there, 

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

    Thanks

    Nanda

Translate
MC_Stuff
Level 10
Apr 11, 2017 3:00 AM UTC

Hi Nanda,

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

Thanks,

Translate