Help with CURL

ToriAnneke
Contributor II

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

1 ACCEPTED SOLUTION

chriscollins
Valued Contributor

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

View solution in original post

4 REPLIES 4

chriscollins
Valued Contributor

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

ToriAnneke
Contributor II

Thank you!!!

Jpeak
New Contributor

@chriscollins the link is broken. please help.

mm2270
Legendary Contributor III

@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.