Need help with other JFrog products?
Good news! Enterprise-scale distribution is now handled through the robust JFrog Platform.
Please contact us with any questions.
On the Bintray homepage, click the generic repository icon
Bintray displays the repository page
To create a new package, click the Add New Package button
Bintray displays the "Create New Package" page.
Fill the fields on the page. The only 3 fields that are required are:
The package is created and Bintray displays its "Edit" page in case you want to add more details.
To finish creating your package, pick the package name on the top.
Bintray displays the Package page for the newly created package.
Now you need to create a new version for your package.
Bintray displays the Create New Version page.
Fill in the details and click Create Version
The version is created and Bintray displays the Edit Version page.
Click the version name link.
Bintray displays the Version page.
Uploading a File
On the Version page, click Upload Files
Bintray displays the Upload Files work area.
You may (optionally) specify a path within the repository where the files should be stored. You can now upload your file in several ways: click to display the file selection dialog, drag and drop your file, or specify a URL from which the file can be uploaded.
Once your file is uploaded, it will be displayed under Attached Files
To finalize file upload, you must click Save Changes.
Bintray displays the Version page showing the newly uploaded file. The file icon displays a green dot to indicate that it’s not published yet.
While the file is uploaded, it is not visible to anyone else until you publish it. Bintray gives you a week to publish a newly uploaded file after which it will be automatically deleted.
It may take Bintray a few seconds to complete publishing your file, but once publishing is completed, the file is displayed without the green dot on the icon.
Uploading Using cURL
Just like you can download using cURL, you can also upload files.
Getting your API Key
Since you need to be authenticated in order to upload a file, you will need your API key to upload a file using cURL. You can generate an API Key on your Edit Your Profile page.
Hover over your user name in Bintray’s header ribbon and select Your Profile from the menu. On your Profile page click Edit to display the Edit Your Profile page. Now, select API Key.
To generate an API key, click "Generate one"
Bintray generates an API key.
Click the "Copy" icon to copy your API key and save it somewhere.
Using "Set Me Up"
Mirroring the process for downloading, you can also click "Set Me Up" on your repository to get the cURL command needed to upload your file.
Go back to the Repository page and click "Set Me Up".
Since you are logged in, the "Set Me Up" dialog shows an "Uploading" option.
Click "Uploading" and then "Using this repo with cURL"
Bintray displays the cURL command template to upload a file to your repository.
Copy the cURL template, and replace the placeholders with:
If you go back to the Bintray UI, you will see that your file has been uploaded. The file icon is displayed with a green dot indicating it is not published.
Publishing with Bintray's REST API
Bintray has an extensive REST API which empowers you to fully automate your software distribution. We will use cURL again to apply Bintray’s Publish API call to publish the file we uploaded in the previous section.
To apply the Publish REST API call using cURL, the commaind is:
The file is published.