How to download repo from artifactory(jfrog).

111 visualizaciones (últimos 30 días)
Vickey Vardwaj
Vickey Vardwaj el 5 de Dic. de 2023
Editada: Pratyush Swain el 15 de Dic. de 2023
Wanted to know what is are the command to download repo from artifactory(jfrog).

Respuestas (1)

Pratyush Swain
Pratyush Swain el 15 de Dic. de 2023
Editada: Pratyush Swain el 15 de Dic. de 2023
Hi Vickey,
I understand you want to download repository from jfrog artifactory. The two ways to achieve this task are as follows:
1-Download through jfrog CLI:
We can use the jfrog CLI to download folders.The CLI can be downloaded with "cUrl" as follows:
$ curl -fL https://getcli.jfrog.io/v2-jf | sh
Run the executable as "./jf " after download. Please refer to https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/install for other alternatives of installing jfrog CLI.
After installation, we can use the dl command of the jfrog CLI as follows:
$ jfrog rt dl example-repo-local/amd-64/ --include-dirs
This command will download the content of the amd-64 folder from the example-repo-local repository and will save it under the same structure locally on the machine.
2- Download through jfrog REST API:
As an alternative to jfrog CLI, we can also retrieve folders throgh jfrog REST API's.This allows to download the content of a folder as an archive file( 'zip','tar','tar.gz', and 'tgz').Please refer to https://jfrog.com/help/r/jfrog-rest-apis/artifactory-rest-apis for the same.
For more information on downloading folders from repository, please refer to following links.
Hope this helps.

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by