Skip to content

Instantly share code, notes, and snippets.

@cruepprich
Created October 15, 2021 16:17
Show Gist options
  • Save cruepprich/c7f941fd7046d9f8b18d37196a8240c9 to your computer and use it in GitHub Desktop.
Save cruepprich/c7f941fd7046d9f8b18d37196a8240c9 to your computer and use it in GitHub Desktop.
[Artifactory CLI Commands] Use cURL to upload/download files to/from Artifiactory #artifactory
#upload
curl -H "X-JFrog-Art-Api:${XGBU_ARTIFACTORY_API_KEY}" \
-T ~/Downloads/sqlcl-21.2.2.223.0914.zip \
"https://artifacthub-iad.oci.oraclecorp.com/artifactory/xgbu-ace-dev/oci_build/sqlcl-21.2.2.223.0914.zip"
#download
curl -H "X-JFrog-Art-Api:${XGBU_ARTIFACTORY_API_KEY}" \
-O "https://artifacthub-iad.oci.oraclecorp.com/artifactory/xgbu-ace-dev/oci_build/sqlcl-21.2.2.223.0914.zip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment