Transferring files with Aspera Connect/ascp: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Marked this version for translation)
Line 2: Line 2:


<translate>
<translate>
<!--T:1-->
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.  
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.  


<!--T:2-->
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.
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=
=ascp 3.5.4= <!--T:3-->
This software is available as a module in older software stacks.
This software is available as a module in older software stacks.


<!--T:4-->
If the server you are trying to transfer data to is incompatible with this older version, you may get an error such as:
If the server you are trying to transfer data to is incompatible with this older version, you may get an error such as:


<!--T:5-->
<pre>
<pre>
Error with Aspera:
Error with Aspera:


<!--T:6-->
ascp: failed to authenticate, exiting.
ascp: failed to authenticate, exiting.


<!--T:7-->
Session Stop  (Error: failed to authenticate)
Session Stop  (Error: failed to authenticate)
</pre>
</pre>


=Aspera Connect/ascp 4+=
=Aspera Connect/ascp 4+= <!--T:8-->


<!--T:9-->
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]].
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]].


<!--T:10-->
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 ]


<!--T:11-->
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


<!--T:12-->
2. Download the software in this directory with wget:
2. Download the software in this directory with wget:


<!--T:13-->
<code> wget link-i-copied-here </code>
<code> wget link-i-copied-here </code>


<!--T:14-->
3. Extract the software from the archive
3. Extract the software from the archive


<!--T:15-->
<code> tar -zxf ibm-aspera-connect_some_version_linux.tar.gz </code>
<code> tar -zxf ibm-aspera-connect_some_version_linux.tar.gz </code>


<!--T:16-->
4. Run setup
4. Run setup


<!--T:17-->
<code> bash ibm-aspera-connect_some_version_linux.sh </code>
<code> bash ibm-aspera-connect_some_version_linux.sh </code>


<!--T:18-->
5. Run the setrpaths script
5. Run the setrpaths script
   
   

Revision as of 19:36, 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