1

I'm using Artifactory 6.1.0 OSS version.

When I try to retrieve the latest zip that is located in a Generic repo, I can't get the file to download.

i searched the web and found: [https://www.jfrog.com/confluence/display/RTF/Artifactory+REST+API#ArtifactoryRESTAPI-RetrieveLatestArtifact[1]

But It's only relevant for the pro version of Atrifactory.

Anyone encounter this problem before?

Ori Wiesel
  • 488
  • 2
  • 8
  • 26

2 Answers2

0

You will need to deploy the artifact according to layout, as explained here

You just need to do it once for a directory, and subsequently all artifacts in the directory can be downloaded using the -[RELEASE] syntax.

Suryansh
  • 193
  • 2
  • 12
  • Thank you for your answer, but as i said, i'm using the OSS version AKA free version of artifactory, so i don't have there the kind of repo that i need (uploading npm and using Generic Repository). and as far as i've seen there is no "Deploy according to layout" check option there. – Ori Wiesel Jul 25 '18 at 11:20
0

If you wish to achieve that out of the box, you will need to use features only available in Artifactory Pro: Layouts, Get latest version REST API.

Dror Bereznitsky
  • 20,048
  • 3
  • 48
  • 57