Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 9

Overview

Files can only be uploaded to the repository/ package or a version level and only by the owner of the package to which the version belongs. Empty files cannot be uploaded to Bintray. Upload file size may be limited depending on your account plan.

Info
titleUploading Files to Versions Only

Prior to Bintray version xxxx, files can only be uploaded to a version and only by the owner of the package to which the version belongs.



Panel
titlePage Contents

Table of Contents
maxLevel4
minLevel2


Uploading

FilesAccess the Repository, Package or Version pages

a File to a Version

To upload a file to a version:

  1. Access the Version page of the relevant version.

  2. Drag-and-drop the files onto the Drop File Here area.

  3. Click the Select file link

    Click the Upload Files in the Actions list link under the version name.
    Image Removed

    The Upload Files form opens as part of the Version page (instead of the tabs).
    Image Removed

    You can upload using the following methods:



    Image Added

  4. There are three ways to upload files:

    1. Click the Click to Add Files link and select the file or files (multiple selection is allowed) to be uploaded through the browse dialog box that opens.

    2. Drag-and-drop the files onto the Drag Files Here area.

    3. Enter the URL of the file you want to upload in the Upload from URL field and click the Upload button.

  5. Every file is uploaded to a default directory in the relevant repository. The subdirectories, however, may be changed by the user, for convenience in managing multiple files under the same version. You may add in the field Target Repository Path Paththe path to which you want the file to be uploaded, if you want to place the file in a subdirectory relative to the repo’s root directory.

    Info
    titleMaven File Uploads


    As

    Note: as part of the advanced support that Bintray provides to Maven files, if the files you are uploading are of a Maven project (only Maven), Bintray automatically determines the target repository path according to the POM file (which must be included, according to Maven standards). Bintray offers you the option of assigning to the uploaded files the path as determined by the POM file. This is recommended but not mandatory.

    Click here for more information about POM files.

  6. Click Upload.


  7. When there are files uploaded to the version, they are displayed as a list in the Upload Files form. Note, though, that the uploading is not final yet. You must click Save Changes in order for the files you uploaded to actually be stored within the version

    The files are now uploaded and saved. 

    In order for your files to be visible to users, they need to be published. Files that are successfully uploaded are not automatically published by Bintray; you need to publish them yourself. Following successful upload, a message box with the option to Discard or Publish the files appears.

    • Delete All will delete the Discard the files means undoing the any uploads upload you did just now.

    • Publish the files means making them available to be viewed and downloaded by all Bintray users

      You can now navigate out of the current page, but remember, files can only remain unpublished for a period of 24 hours. If you do not publish them within that time, Bintray will automatically discard them. You can identify new files that have been uploaded but not published since their icon is displayed with an exclamation marka green dot.

    Image Removed

Image Added
Note that if the files are uploaded to a version of a package that belongs to a repository within an organization, another member of the organization may view and publish the unpublished files, if that member has the correct authorization within the organization.