Sorry if this is a simple one but couldn't find an answer elsewhere After I upload a package to Jamf, is there a way to download it? Giving I don't have the original package and it's not in Composer.
I need this to be able to push the package through Munki and/ or Deploy studio
Thanks!
Best answer by ryan_ball
@Buraq If your distribution point is on-site, you can get the package from there via smb. Alternatively you can create a policy to cache the package on a Mac (or use Jamf Remote), then go get it afterward.
@Buraq If your distribution point is on-site, you can get the package from there via smb. Alternatively you can create a policy to cache the package on a Mac (or use Jamf Remote), then go get it afterward.
I was able to auth to my cloud instance, putting a file there. Utilizing a web browser, I navigated to the URL, which just showed me a wall of text, but the text was all my package names!
Going back to terminal, and using the following syntax:
curl -L -o [Numeric Value assigned by JSS]Package_Name.pkg --user apiuser:password https:/your.jss.instance:443/JSSResource/packages/22test_package.pkg -X POST
I was able to auth to my cloud instance, putting a file there. Utilizing a web browser, I navigated to the URL, which just showed me a wall of text, but the text was all my package names!
Going back to terminal, and using the following syntax:
curl -L -o [Numeric Value assigned by JSS]Package_Name.pkg --user apiuser:password https:/your.jss.instance:443/JSSResource/packages/22test_package.pkg -X POST
It downloaded without issue!
I tried that, and I got a file named 27mypackage.pkg, but it was only a few hundred bytes, and clearly wasn't the whole package.
I was able to auth to my cloud instance, putting a file there. Utilizing a web browser, I navigated to the URL, which just showed me a wall of text, but the text was all my package names!
Going back to terminal, and using the following syntax:
curl -L -o [Numeric Value assigned by JSS]Package_Name.pkg --user apiuser:password https:/your.jss.instance:443/JSSResource/packages/22test_package.pkg -X POST
It downloaded without issue!
Thanks for posting this! Following is a modified version utilizing API auth via bearer token:
Found that I didn't have to upload a dummy package, and could auth via my admin crews to the package folder on my JSS
Thanks for posting this. I keep a copy of all the packages I upload, but in my current job I inherited Jamf administration from someone less fastidious. The last time I needed a package, I used the "install cached" method and found the package in the waiting room.