This is a proof-of-concept platform undergoing development and testing. No official releases are currently distributed through this website!

Command line documentation

This document details the command line features for managing artifacts

Using curl

Upload a single file

curl -X PUT -u asf-userid -T foo.tar.gz https://artifacts.apache.org/upload/$project/foo.tar.gz

Remove a file (not available for promoted release artifacts)

curl -X DELETE -u asf-userid https://artifacts.apache.org/upload/$project/foo.tar.gz

(note that if the file is a release artifact, its associated checksum and signature files will automatically be removed as well)

Create a sub-directory

curl -X MKCOL -u asf-userid https://artifacts.apache.org/upload/$project/subdir

Remove a sub-directory and all its contents (not available for promoted release artifacts)

curl -X RMCOL -u asf-userid https://artifacts.apache.org/upload/$project/subdir

Promote an artifact to official release

curl -X PROMOTE -u asf-userid https://artifacts.apache.org/upload/$project/foo.tar.gz

(note that this will promote both the artifact and any associated checksum and signature files)

Using Cadaver

If you prefer using Cadaver for WebDAV operations, you can do so by initializing it like so:

cadaver https://artifacts.apache.org/upload/$project/

Note, that in order to promote an artifact to official release, you will need to use the Web UI or the curl command listed in the curl guideline above.