Transferring files

You can transfer files between hosts in several ways.

   scp [-option] source destination
   rcp [-option] source destination
These work only if you have an account on both systems. The syntax for the parameters is the same. Scp is preferred over rcp. The source or destination may be specified as [user@]host:pathname. If the pathname doesn't start with a /, then it is relative to the home directory on the remote system.

You can also use the ftp command. This protocol is more widely supported for transferring files between hosts on the Internet network.


[Home] [Search] [Index] This site maintained by guide@cs.mcgill.ca