简体   繁体   中英

Jfrog CLI for Artifactory: download folder archive

I am using JFrog CLI ( jfrog rt download ) to download build reports from Artifactory that are published there by GitLab CI in unpacked state in order to allow unhindered html reports browsing. However it takes extremely long (10-20 minutes) because of just how many small files there are.

I see that Artifactory has REST API to download whole repository folder content in one swoop as a single archive. But I am not able to find any way to do the same using JFrog CLI.

Am I missing something or is there truly no way to download whole folder content as an archive using JFrog CLI?

PS: I am aware that there is a configuration option on Artifactory that supposedly allows to browse contents of archives, but there are reasons (organizational and technical) preventing me from using it

Using the CLI you can increase the "--threads" value. I have seen a massive improvement when downloading a directory with lots of small files when increasing the number of threads.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM