Transfering files

Transfering files

This section discusses file transfer to or from IBIS servers. The point of departure or
arrival of the files to be transferred may be your personal computer or another computing
server. In the latter case, it could be a Compute Canada network server.

Transfering files using the secure copy Unix command

This command is to be use in command line mode with a terminal window.
It can executed from your computer to put your data in your server account, in this way we say that
you push your file. Be sure to have the scp command installed on your computer.
The other way is performed from the server to pull your file from your computer. Let see how it can be done:

First option, push the file to the server

  1. Open the terminal and move to the place where you have your file to be transferred
  2. Enter the command:
    “`scp your_login@manitou.ibis.ulaval.ca:“`
    It’s very important to put the “`:“` at the end. As you can see, you can stop after the “`:“` , in this case the file will put directly in your home.
  3. If you want, you can write a more precise path to place the file:

“`scp your_login@manitou.ibis.ulaval.ca:/home/login/folder1/folder2/“`

Second option, pull the file from the server

  1. Open the terminal and move to the place where you want to put the file
  2. Enter the command:
    “`scp your_login@manitou.ibis.ulaval.ca:~/path/file .“`
    The final dot “`.“` indicated that you want to put where you are actually. You can replace
    the dot with a path if you want:
    “`scp your_login@manitou.ibis.ulaval.ca:~/path/file /home/login/folder1/folder2“`

Third option, transfer from the server

  1. Open the terminal and connect to your server account
  2. Move to the place where the file to transferred is
  3. Enter the command:
    “`scp file your_login@your_computer_adress:~/path/files“`

Transfering files using Globus

This application can be very useful if you have a lot of data to transfer. It can be
significatively faster than scp and also allow you the let the task running in background
using the a web interface.

To use Globus, you need a Globus account and both end servers must be registered with Globus.

  1. To use Globus go to [GlobusApp](https://app.globus.org) and click on “Globus ID to sign
    in” and use your GlobusID ID to login.
  2. If you do not have an account, you can open one by going to [GlobusID](https://www.globusid.org/)
  3. Once the account is created, return to [GlobusApp](https://app.globus.org) and click on
    “Globus ID to sign in” and use your GlobusID ID to login.
  4. Once in Globus, look for “pdbi” in Collection to find Bio-Informatics Platform. An
    authentication on manitou will then be asked you then you will reach the directory
    /project/
  5. Select the files to be transfered

[Return to Topics](https://bitbucket.org/jerlar73/ibis_bioinfo/wiki#home)

Comments are closed.