Use the data transfer node (transfer.lanta.nstda.or.th) to transfer large file (>10GB), see large file transfer.
Windows
1. using SFTP session in MobaXterm and specify the following information.
Remote host: 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.
scp [source] [destination]
For example,
To upload files to LANTA
localuser@localmachine:~/test$ scp localfile.dat hpcuser@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
localuser@localmachine:~/test$ scp -r local-directory hpcuser@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.
scp [source] [lantausername]@lanta.nstda.or.th:[PATH]
For example,
[tarauser@tara-frontend-1 ~]$ scp test.sh lantauser@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 (>10GB), please take note of the following guidelines:
Utilize the data transfer node (transfer.lanta.nstda.or.th) specifically designed for transferring large data files.
Transfer large data files during the designated periods:
Monday to Friday: Outside of operational hours, from 18:00 to 8:00
Saturday to Sunday: Available for transfers 24 hours a day, from 00:00 to 23:59
ThaiSC reserves the right to terminate large data transfers on the frontend node if they have the potential to impact other users' performance.
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.
rsync -rvz [source] [username]@lanta.nstda.or.th:[PATH]