简体   繁体   中英

Upload file to artifactory

I'm trying to upload a zip file (size=1.6GB) to artifactory using CURL, but i have a GATEWAY_TIMEOUT error.

Any help on how to resolve this problem.

在此处输入图像描述

I tried to figure this out myself, and I figured out that JFrog has a tool specifically for this purpose.

I would use jfrog-cli . This is the supported way to upload objects to Artifactory.

Once you get it installed, you configure it with "jfrog rt config" and you put info about your instance, and your credentials (an API key is best), and then uploading is as simple as "jfrog rt u name_of_file name_of_artifactory_repo"

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