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
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?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.