Limit bandwidth usage

Aspera® for desktop always tries to transfer at the maximum transfer rate available. However, the application can limit the overall bandwidth that is used across all its initiated transfers.

Create a bandwidth limit

  1. In the navigation bar, go to Settings > Transfers.
  2. Enable Limit downloads by selecting the checkbox, and set the limit for all downloads. If you want to disable this option, clear the checkbox.
  3. Enable Limit uploads by selecting the checkbox, and set the limit for all uploads. If you want to disable this option, clear the checkbox.
    Note: These values specify the aggregate bandwidth limit. Transfer sessions dynamically adjust their transfer rates so that the aggregate bandwidth that is used across all running sessions remains below the configured limit. As transfer sessions complete, the remaining sessions use the newly available bandwidth.

Restrict the bandwidth limit

As an administrator, you can enforce a bandwidth restriction that disables the option to change it from the UI. Add specific fields to the defaults.json file and then load it into the application:

  1. Close the application.
  2. Go to the application configuration directory, which varies by platform.
    If you added default settings, you already created the defaults.json file and is in the correct location. If not, create the file, name it defaults.json, and save it in the configuration directory:
    macOS:
    $HOME/Library/Application Support/com.ibm.software.aspera.desktop
    Windows™TM:
    %APPDATA%/com.ibm.software.aspera.desktop

    Linux®:

    $XDG_DATA_HOME/com.ibm.software.aspera.desktop

    Or

    $HOME/.config/com.ibm.software.aspera.desktop
  3. Add the "enforced" section to the defaults.json file.
  4. Within the "enforced" section, add the "bandwidth" section.
  5. Under "bandwidth", add "upload_limit_enabled" and "download_limit_enabled", and set their values to true. Save the file.
  6. Open the application and verify that the Limit downloads and Limit uploads options are locked in the UI, with the message This setting has been locked by an administrator. This setting persists after you close the application.

The following example shows the defaults.json file syntax:

{
  "enforced": {
    "bandwidth": {
      "upload_limit_enabled": true,
      "download_limit_enabled": true
    }
  }
}