Transferring files with Aspera Connect/ascp: Difference between revisions
No edit summary |
|||
(8 intermediate revisions by 3 users not shown) | |||
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. | ||
If the server you are trying to transfer data to is incompatible with this older version, you may get an error such as | <!--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 | |||
<!--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]]. | ||
1. Copy the link for the latest | <!--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]. | |||
2. Go to the directory where you want to install the software, e.g. your home directory | <!--T:11--> | ||
2. Go to the directory where you want to install the software, e.g. your /home directory. | |||
<!--T:12--> | |||
3. 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--> | |||
4. 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--> | |||
5. Run the setup script. | |||
<!--T:17--> | |||
<code> bash ibm-aspera-connect_some_version_linux.sh </code> | <code> bash ibm-aspera-connect_some_version_linux.sh </code> | ||
<!--T:19--> | |||
5a. Make the library files executable: | |||
<!--T:20--> | |||
<code> chmod u+x ~/.aspera/connect/plugins/*/*.so ~/.aspera/connect/lib/* </code> | |||
<!--T:18--> | |||
6. Run the setrpaths script. | |||
<code> setrpaths.sh --path $HOME/.aspera </code> | <code> setrpaths.sh --path $HOME/.aspera </code> | ||
<!--T:21--> | |||
7. (Optional) add the ascp binaries to your PATH: | |||
<!--T:22--> | |||
<code> export PATH=~/.aspera/connect/bin:$PATH</code> | |||
</translate> | </translate> |
Latest revision as of 15:32, 30 May 2024
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.
3. Download the software in this directory with wget.
wget link-i-copied-here
4. Extract the software from the archive.
tar -zxf ibm-aspera-connect_some_version_linux.tar.gz
5. Run the setup script.
bash ibm-aspera-connect_some_version_linux.sh
5a. Make the library files executable:
chmod u+x ~/.aspera/connect/plugins/*/*.so ~/.aspera/connect/lib/*
6. Run the setrpaths script.
setrpaths.sh --path $HOME/.aspera
7. (Optional) add the ascp binaries to your PATH:
export PATH=~/.aspera/connect/bin:$PATH