Download files and packages

You can download vault content such as individual files and entire packages. Packages are downloaded as single .zip files.

You can also download files from a generic vault. When you download multiple files, they are bundled into a single .zip file.

Caution: Make sure your Vault and PulseUno servers are configured to use the same protocol type. For example, if the PulseUno server is configured for HTTPS, the Vault server must also use HTTPS. This ensures that no errors occur when uploading or downloading artifacts through the user interface.

For details on how to upload packages to vaults, see Deploy packages.

Download packages

Download Maven, npm, Docker, PyPI, or NuGet packages and package files directly from the user interface.

To download a package or file:

  1. On the top navigation bar, select a space from the spaces list.

  2. On the sidebar, select Vaults.
  3. On the Vaults page, click a vault to open it.
  4. To download a package version, open the relevant package and then the package version. In the upper-right corner of the package version page, click Download . If requested, confirm the download.

    A zip file with package contents is downloaded to your machine.

  5. To download a specific file from the package version, select the Content tab.
  6. Select a file from the content list. Use the Search field to find files by name.

  7. In the right pane, click the file name link. If requested, confirm the download.

Back to top

Download files from generic vaults

Download files from a generic vault directly in the user interface or with a command-line tool such as cURL.

To download files from the user interface:

  1. On the top navigation bar, select a space from the spaces list.

  2. On the sidebar, select Vaults.
  3. On the Vaults page, click a generic vault to open it.
  4. Select one or more files and click Download on the toolbar. If requested, confirm the download.

    You cannot download directories.

To download files using cURL:

  1. Obtain the vault's URL. For details, see Copy vault URL.

    Tip: To find a sample of the curl command for downloading a file, open the file inside the vault and select the How to Use tab. For details, see Review package contents.

  2. Run the following curl command:

    Copy code
    curl -u <username>:<password> http://<vault-URL>/<directory>/file.zip -o file.zip

    where:

    <username>:<password>

    Specifies you credentials to log in to PulseUno. For example, a username and password or a username and personal access token.

    To download from a vault, you need developer permissions or higher.

    Public vaults do not require authentication.

    http://<vault-URL>/<directory>/file.zip Specifies the path to the file in the generic vault.
    file.zip Specifies the name of the file to download. You can download one file per command.

Back to top

See also: