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