Versions Compared

Key

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

...

Panel
titleCopy file from local to Helium (note alternate port specification)

[user@local ~]$scp $ scp -P 40 file1 hawkid@helium.hpc.uiowa.edu:file1

Panel
titleCopy file1 and file2 to your home directory on Helium

[user@local ~]$scp $ scp file1 file2 hawkid@helium.hpc.uiowa.edu:file:~

Panel
titleCopy directory from local to Helium

[user@local ~]$scp -r dir1 hawkid@helium.hpc.uiowa.edu:dir1

 SFTP
SFTP
Panel
titleCopy file from local to Helium (note alternate port specification)

...

 
[user@local~]$ sftp -o port=40 hawkid@helium.hpc.uiowa.edu
Connecting to helium.hpc.uiowa.edu...
sftp> put file1
Uploading file1 to /Users/hawkid/file1
file1 100% 840 0.8KB/s 00:00
sftp>
Panel

...

title

...

Copy directory from local to Helium

...

 

 

Panel
titleCopy directory from local to Helium
[user@local~]$ sftp hawkid@helium.hpc.uiowa.edu
Connecting to helium.hpc.uiowa.edu...
sftp> mkdir remote
sftp> put local/* remote/
Uploading local/file1
Uploading local/file2
Uploading local/file3
 
sftp> ls remote/
remote/file1
remote/file2
remote/file3

 

...

Info

This process is more involved in that one must create the directory remotely first and then transfer the contents from one to the other – wildcards are helpful for this.