have you considered secure copy? It is a function of SSH (basically secure telnet). The syntax is beyond easy.
scp [-pr] [userid@][source host:][path to file] [userid@][destination host:][path to file]
Examples:
From Unix to Unix
You want to copy files /home/vanacker/*.html (all files in that directory that end in ".html") on CPC Unix host talltoad.cpc.unc.edu to your public_html subdirectory on ATN's Isis system and you are logged into talltoad already. At the talltoad unix prompt, you would enter:
scp /home/vanacker/*.html isis.unc.edu:~vanacker/public_html
You would then be prompted for your passwd for the vanacker account on Isis.
From Unix to PC
You want to copy a file /htdocs/fred.html on Unix host talltoad.cpc.unc.edu into the current directory on your desktop PC, and your userid on talltoad.cpc.unc.edu is "charlie". In a DOS window, you would enter:
scp [email protected]:/htdocs/fred.html .
Here, the "." corresponds to the present working directory in your DOS window.
You would then be prompted for the passwd for the charlie account on talltoad.cpc.unc.edu.
From PC to Unix
You want to copy a file D:\myfiles\work.ppt on your desktop PC to your home directory on statapps, the ATN statistical computing platform, and your userid on statapps is "mmouse". In a DOS window, you would enter:
scp D:\myfiles\work.ppt [email protected]:~mmouse
You would then be prompted for the passwd for the mmouse account on statapps.unc.edu.
--TH13




Reply With Quote