Skip to main content
Answer

Help with CURL

  • February 6, 2014
  • 4 replies
  • 28 views

Forum|alt.badge.img+10

Hey all,

I got curl to download the QuickAdd.pkg directly from the JSS's enrollment URL but when it does download, it's a 1kb file and installer bombs out.

Any thoughts in my syntax?

cd ~/Desktop; curl -O -k -u jssUserName:jssPassWord https://my.jss.com:8443//flatpackagedownload/QuickAdd.pkg

Basically, trying to script the download and install of the QuickAdd.

I've tried as well using the -L option, but still downloads a 1kb file.

As always, thanks in advance.

-pat

Best answer by chriscollins

https://jamfnation.jamfsoftware.com/discussion.html?id=9576

4 replies

Forum|alt.badge.img+16
  • Honored Contributor
  • Answer
  • February 6, 2014

https://jamfnation.jamfsoftware.com/discussion.html?id=9576


Forum|alt.badge.img+10
  • Author
  • Contributor
  • February 7, 2014

Thank you!!!


Forum|alt.badge.img+3
  • New Contributor
  • November 17, 2020

@chriscollins the link is broken. please help.


mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • November 17, 2020

@Jpeak Here's an updated link: https://www.jamf.com/jamf-nation/discussions/9576/download-quickadd-from-terminal
Jamf Nation changed the URL format for discussions and other links a while back, but it is still at discussion # 9576

Just to point out, the discussion at that link is coming up on 7 years old, and at this point it's not really advisable to download a QuickAdd package for enrollment anymore, but I'm not going to pretend I know what your end goal is.