Posted on 09-30-2022 08:59 PM
I wish to download a 50Mb pkg installer from a website onto macs. when I run the bellow command it only downloads 152 bytes of the pkg instead of 50Mb. What am I doing wrong?
curl https://somewebsite.com/packname.pkg -o /Users/Shared/packagename.pkg
Posted on 10-11-2022 02:11 PM
dtekum,
Do you have curl working to download anything or is it broken for all packages? If it is just this package what is the URL you are downloading? Is it behind a log in?
Are you doing this in a script or entirely from the command line?
What happens when you paste the URL https://somewebsite.com/packname.pkg into Safari?