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.
Set Me Up
The example below shows a Set Me Up! window for a repository.
Clicking the different options in this window displays instructions for the relevant procedure, with GUI screenshots or lines of code where necessary.
Note that you must include your authentication credentials, your Bintray username and your API Key, in the API call you use to upload package files.
File size should not exceed 250 MB for OSS users or when uploading files through the UI. Bintray Professional users can upload files up to 5GB when using the REST API.
Automatic Version Creation
When uploading files to Bintray using APIs, Bintray will automatically create a version in the following cases:
When a file is uploaded using Maven, if the file is uploaded to a path that does not yet exist, this path will be created.
When a file is uploaded using other tools, Bintray can create versions automatically if these are indicated in the tool’s HTTP header (where supported) or matrix parameters.
For more details on how to upload files using APIs, please refer to Upload Content in the Bintray REST API documentation.
Automatic Uploads: General Instructions
Distributing files via Bintray includes three steps: creating a version, uploading the files and publishing the files.
Creating a Version: Uploaded files are associated with a specific version of a package.
Some upload methods can create the version automatically as part of the upload; with other methods you will need to create a target version from the Bintray UI or using REST.
Uploading: Upload your files using a tool (automatic upload).
After uploading your files, the files have a status of un-published. This means that in the Bintray UI they are only visible to you and can only be downloaded with your username and API Key.
You may discard all or some of your uploaded files when they are un-published, before anyone sees or downloads them.
- Publishing: When you are ready, you can publish your files and make them visible and available to all Bintray users.
Publishing can be done via REST API (as part of the upload or separately) or using the UI (an unpublished content notice appears on your screen, with links to publish or discard the files).
Some upload methods also allow you to publish your files automatically upon uploading, without the publishing step.