Archive Entry Download

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: Returns an archived resource from the specified archive destination.

Security: Requires a user with 'read' permission (can be anonymous)

Usage: GET /repo-key/path/to/artifact.jar!/path/to/archived/resource

Note

The '!' must be between the archive file name and the archive entry path, and will not work without the '/' after the '!'.

Sample Output:

❯ curl <username:password> -XGET https://hts1.jfrog.io/artifactory/abhi-maven-libs-release-local/com/example/demo/0.0.3/demo-0.0.3.jar\!/META-INF/MANIFEST.MF
Manifest-Version: 1.0
Created-By: Maven Jar Plugin 3.2.0
Build-Jdk-Spec: 11
Implementation-Title: demo
Implementation-Version: 0.0.3
Main-Class: org.springframework.boot.loader.JarLauncher
Start-Class: com.jfrog.Calculator
Spring-Boot-Version: 2.6.0
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx
Spring-Boot-Layers-Index: BOOT-INF/layers.idx