Sending a package using the Aspera CLI

You can use the Aspera Command-Line Interface (CLI) to transfer a file from your desktop to an Aspera on Cloud user.

After you install the Aspera CLI, you can use it to transfer a file from your desktop to an AoC user. The files or folders you transfer using the instructions in this section are collected into a digital package and sent to the recipient you designate. The package appears in your recipient’s Package list in the Packages app

Install the Aspera CLI

  1. Download the Aspera CLI package from the Aspera website. Select the operating system (OS) of the computer you are using and the CLI version you want to use. Aspera recommends that you always use the latest version.
  2. Install the Aspera CLI as described in the guide for your OS. Go to the topic titled Installing the Aspera CLI.

Configure Aspera CLI and Aspera on Cloud

Configure both Aspera CLI and Aspera on Cloud as described in the guide for your OS. Go to the topic titled Configuring for Aspera on Cloud. Configuration requires that you add your public key to your Aspera on Cloud user account and your private key to the Aspera CLI. The procedure shows you how to generate a public/private key pair if you don’t already have one.

Transfer a File

Once installation and configuration are complete, you are ready to transfer a file or folder in a digital package. You need the following information:

  • Your organization name: as defined in AoC > Admin > Organization > Profile > Name.
  • Your workspace name: as defined in AoC > Admin > Workspaces > your Workspace > Profile > Name.
  • Package name: create a meaningful name for the package containing the files or folders you want to transfer.
  • Recipient name: the email address of the AoC user to send to.
  • The file or folders to transfer.
Run the following command in the Aspera CLI terminal:
aspera aoc send --organization <orgName> --workspace <workspaceName> --name <packageName> --recipient <recipientEmailAddr> --file <absolutePath> / <mydir /filename>

The Aspera on Cloud user you address will see the package containing your file in their Packages list.