Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Info

Use the data transfer node (transfer.lanta.nstda.or.th) to transfer large file that take more than 5 minutes to transfer, see large file transfer.

Note

ThaiSC reserves the right to terminate large data transfers on the frontend node if they have the potential to impact other users' performance.

Table of Contents
minLevel1
maxLevel7

Windows

1. using SFTP session in MobaXterm and specify the following information.

Panel
bgColor#F4F5F7

Remote host: transfer.lanta.nstda.or.th

Username: [your LANTA username]

...

2. Enter your LANTA password

...

3. Enter your two-factor authentication code

...

4. The SFTP will be started. You can drag and drop file/directory to transfer file/directory between your local PC and LANTA. You also can change the location on LANTA by specify path at the to of LANTA window (squared in red).

...

macOS/Linux

using scp command and enter your password then you two-factor authentication code. Note that add -r option to transfer directory.

Code Block
scp [source] [destination]

For example,

To upload files to LANTA

Code Block
localuser@localmachine:~/test$ scp localfile.dat hpcuser@transfer.lanta.nstda.or.th:/home/hpcuser
(hpcuser@lanta.nstda.or.th) Password: [enter your LANTA password]
(hpcuser@lanta.nstda.or.th) Verification code: [enter your 2FA code]

To upload folder/directory to LANTA

Code Block
localuser@localmachine:~/test$ scp -r local-directory hpcuser@transfer.lanta.nstda.or.th:/home/hpcuser
(hpcuser@lanta.nstda.or.th) Password: [enter your LANTA password]
(hpcuser@lanta.nstda.or.th) Verification code: [enter your 2FA code]

...

TARA to LANTA file transfer

On TARA HPC, using scp command and specify the follow detail.

Code Block
scp [source] [lantausername]@transfer.lanta.nstda.or.th:[PATH] 

For example,

Code Block
[tarauser@tara-frontend-1 ~]$ scp test.sh lantauser@transfer.lanta.nstda.or.th:~
Warning: Permanently added 'lanta.nstda.or.th' (ECDSA) to the list of known hosts.
Password: [enter your LANTA password]
Verification code: [enter your 2FA code]
test.sh                                                         100%  163    61.2KB/s   00:00

, where lantauser is your LANTA username.

...

Large file transfer

To transfer large file(s) transfer that take more than 5 minutes to transfer, please only use the data transfer node (transfer.lanta.nstda.or.th) which is specifically designed for transferring large data files.

For example,

case a) transfer file from your PC

Code Block
scp [source] [lantausername]@transfer.lanta.nstda.or.th:[PATH]

case b) download data from internet

Code Block
username@NB2-651-0064:~$ssh hpcuser@transfer.lanta.nstda.or.th    #or login using MobaXterm or PuTTY
Warning: Permanently added 'transfer.lanta.nstda.or.th' (ECDSA) to the list of known hosts.
Password:   [enter your password]
Verification code:   [enter 6 digits verification code]
Last login: Fri Sep  1 13:27:20 +07 2023 from xxx.xx.xx.xx on ssh:notty
hpcuser@x3002c0s15b0n0:~> wget [url]

...

rsync

As LANTA using sticky bit to preserve group owner in the project directory. Using rsync -a will preserve original permission which not suitable for LANTA setting resulting in either permission denied or disk quota exceeded error. We suggest ti use the following option when you are using rsync command.

Code Block
rsync -rvz [source] [username]@transfer.lanta.nstda.or.th:[PATH]

...