Skip to main content
Question

Deploying PKG using the curl

  • October 1, 2022
  • 1 reply
  • 12 views

Forum|alt.badge.img+3
  • New Contributor
  • 9 replies

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

 

1 reply

honestpuck
Forum|alt.badge.img+11
  • Contributor
  • 48 replies
  • October 11, 2022

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?