Download Packages from Jamf

Buraq
New Contributor III

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!

1 ACCEPTED SOLUTION

ryan_ball
Valued Contributor

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

The package would be here I believe:

/Library/Application Support/JAMF/Waiting Room

View solution in original post

5 REPLIES 5

ryan_ball
Valued Contributor

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

The package would be here I believe:

/Library/Application Support/JAMF/Waiting Room

Buraq
New Contributor III

@ryan.ball Amazing thanks. The caching policy worked. The waiting room folder was locked though and I had to chmod it.

Thanks again!

ryan_ball
Valued Contributor

@Buraq Just do the following and navigate into via root

sudo su -
# Enter password at prompt

cd /Library/Application Support/JAMF/Waiting Room/

mpineyro
New Contributor II

Replicate DP from JAMF admin to local drive?

Mithrandir
New Contributor III

Using the following syntax:

curl -k -v -u user:password https:/jss.host.com:8443/JSSResource/packages -T xmlFile.xml -X POST <--from here: https://community.jamf.com/t5/jamf-pro/can-we-add-packages-to-the-jss-thru-the-api/m-p/51171

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!