chz
chz

Reputation: 387

How to download artifacts from Artifactory Server

We have a bunch of jars in the artifactory server (the free version). How can we download all the jars in a single http request from it ?

Do we need to tar all the jars into a single tar file in order to efficiently download the jars ?

Thanks Sincerely

Upvotes: 0

Views: 981

Answers (1)

JBaruch
JBaruch

Reputation: 22923

Since you are the one who generates the files, you have two options:

  1. As you said, generate the tar before uploading it. You'll still be able to search and browse the files inside it.
  2. Write a afterDownloadError user plugin. Each time the user tries to access a url with .tar in the end, create the tar from the needed files and serve it.

Upvotes: 1

Related Questions