Transferring files with Aspera Connect/ascp: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(first draft)
 
No edit summary
Line 14: Line 14:
Error with Aspera:
Error with Aspera:


ascp: failed to authenticate, exiting.
ascp: failed to authenticate, exiting.


Session Stop  (Error: failed to authenticate)
Session Stop  (Error: failed to authenticate)
</code>
</code>


=Aspera Connect/ascp 4+=
=Aspera Connect/ascp 4+=


In order to use Aspera Connect (formerly ascp) you will need to [[install it in one of your local directories| Installing_software_in_your_home_directory]].
In order to use Aspera Connect (formerly ascp) you will need to [[ Installing_software_in_your_home_directory | install it in one of your local directories]].


1. Copy the link for the latest linux version of the software from the [[https://www.ibm.com/aspera/connect | Aspera connect website]]
1. Copy the link for the latest linux version of the software from the [https://www.ibm.com/aspera/connect Aspera connect website ]


2. Go to the directory where you want to install the software, e.g. your home directory
2. Go to the directory where you want to install the software, e.g. your home directory
Line 29: Line 29:
2. Download the software in this directory with wget:
2. Download the software in this directory with wget:


<code> wget https://link-i-copied-here </code>
<code> wget link-i-copied-here </code>


3. Extract the software from the archive
3. Extract the software from the archive
Line 36: Line 36:


4. Run setup
4. Run setup
<code> bash ibm-aspera-connect_some_version_linux.sh </code>
<code> bash ibm-aspera-connect_some_version_linux.sh </code>



Revision as of 19:30, 16 June 2023

Other languages:

ascp is a software used for transferring data to and from Aspera transfer servers where you have license credentials. A common use case is uploading a dataset to a data repository.

Many transfer servers will require an up-to-date version of the software (now called Aspera Connect). Due to changes in the software, you may need to install this updated version locally. Please see below for details.

ascp 3.5.4

This software is available as a module in older software stacks.

If the server you are trying to transfer data to is incompatible with this older version, you may get an error such as:

Error with Aspera:

ascp: failed to authenticate, exiting.

Session Stop (Error: failed to authenticate)

Aspera Connect/ascp 4+

In order to use Aspera Connect (formerly ascp) you will need to install it in one of your local directories.

1. Copy the link for the latest linux version of the software from the Aspera connect website

2. Go to the directory where you want to install the software, e.g. your home directory

2. Download the software in this directory with wget:

wget link-i-copied-here

3. Extract the software from the archive

tar -zxf ibm-aspera-connect_some_version_linux.tar.gz

4. Run setup

bash ibm-aspera-connect_some_version_linux.sh

5. Run the setrpaths script

setrpaths.sh --path $HOME/.aspera