Transferring Files with Globus

Prerequisites : 

  1. Globus account.
  2. Install Globus Connect Personal on your personal computer.


On your Virtual Machine: 

  1. Log into your VM either via ssh, Web Shell or terminal Web Desktop

 2.  Download and install Globus connect on the VM

[jetstream-vm ~]$ wget https://downloads.globus.org/globus-connect-personal/linux/stable/globusconnectpersonal-latest.tgz
--2021-04-29 20:48:05--  https://downloads.globus.org/globus-connect-personal/linux/stable/globusconnectpersonal-latest.tgz
Resolving downloads.globus.org (downloads.globus.org)... 13.249.87.63, 13.249.87.7, 13.249.87.68, ...
Connecting to downloads.globus.org (downloads.globus.org)|13.249.87.63|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134138818 (128M) [application/x-tar]
Saving to: ‘globusconnectpersonal-latest.tgz’

100%[=========================================================================================================>] 134,138,818 39.8MB/s   in 3.2s   

2021-04-29 20:48:08 (39.8 MB/s) - ‘globusconnectpersonal-latest.tgz’ saved [134138818/134138818]

[jetstream-vm ~]$ tar xzvf globusconnectpersonal-latest.tgz 
globusconnectpersonal-3.1.4/
globusconnectpersonal-3.1.4/globusconnect
globusconnectpersonal-3.1.4/LICENSE
globusconnectpersonal-3.1.4/README
globusconnectpersonal-3.1.4/TESTING
globusconnectpersonal-3.1.4/etc/
globusconnectpersonal-3.1.4/etc/ca/

 3.  Go to the globus connect directory on your VM

  • cd ~/globusconnectpersonal-{your-version}




  • Run ./globusconnect
    • Go to the URL 
    • Copy the auth code and paste it in the VM













  • Give the new endpoint a unique name
[jetstream-vm ~]$ cd globusconnectpersonal-3.1.4/
[jetstream-vm globusconnectpersonal-3.1.4]$ ./globusconnect
Detected that setup has not run yet, and '-setup' was not used
Will now attempt to run
  globusconnectpersonal -setup

Globus Connect Personal needs you to log in to continue the setup process.

We will display a login URL. Copy it into any browser and log in to get a
single-use code. Return to this command with the code to continue setup.

Login here:
-----
https://auth.globus.org/v2/oauth2/authorize?client_id=4d6448ae-8ca0-40e4-aaa9-8ec8e8320621&redirect_uri=https%3A%2F%2Fauth.globus.org%2Fv2%2Fweb%2Fauth-code&scope=openid+profile+urn%3Aglobus%3Aauth%3Ascope%3Aauth.globus.org%3Aview_identity_set+urn%3Aglobus%3Aauth%3Ascope%3Atransfer.api.globus.org%3Agcp_install&state=_default&response_type=code&code_challenge=nkxS4D0RNS5_1VNIhoXQ45m1yTnm5aE-MuShNrpcp8Y&code_challenge_method=S256&access_type=online&prefill_named_grant=jetstream-vm.novalocal
-----
Enter the auth code: AN562GoFhyr8FPqjU4VT6isiueNfm5

== starting endpoint setup

Input a value for the Endpoint Name: VM-test






4.  Activate the endpoint on your VM

  • ./globusconnect -start &
[jetstream-vm globusconnectpersonal-3.1.4]$ ./globusconnect -start &




To Transfer Files: 


  1. To transfer files between endpoints go to https://app.globus.org/file-manager

     Click in the Endpoint dialogue box to select endpoints ( look under tab “Administered by You” ).













 2.  Here you can select from the endpoints you have set up. 



To Stop Globus 


To stop globusconnect on your VM– ./globusconnect -stop