Stands for 'remote copy'. Its use is illustrated by the following examples:
|rcp eustace:file1 eufile1||copy from eustace
|rcp eufile2 eustace:file2||copy to eustace
|rcp eustace:~ruby/file3 eufile3 ||copy from another user on eustace
The following copies all the files in my local project directory to my projects directory on eustace, and then confirms that the files got there by using the 'rsh' command to list all the files in my projects directory on eustace.
rcp -r projectdir eustace:projects
rsh eustace ls -l projects
Stands for 'File Transfer Protocol'. It works with non-UNIX hosts. A typical FTP session follows:
Connected to eustace.ebs.co.uk
220 eustace.ebs.co.uk FTP server (SunOS 4.1) ready.
331 Password required for robby.
230 User robby logged in.
You can log on to various public service machines as an anonymous user. In this case you enter your user name as 'anonymous' and put your email address as your password.
Ctrl-C aborts current ftp operation and gets back the ftp prompt.
ftp> dir lists directory on remote computer (invokes ls -l)
ftp> hash displays a # for every 1000 characters transferred.
ftp> get file1 eustace-file1 copy eustace's file1 to local file
ftp> put eustace-file1 file1 do the reverse
ftp> cd mail change directory
250 CWD command successful
ftp> pwd display working directory id
257 "/mnt/users/rob/mail" is current directory.
ftp> mget * multi-file get
ftp> mput * multi-file put
ftp> binary transfer files in binary mode
ftp> text transfers files in text mode
For a fuller explanation of ftp commands see the Internet notes on FTP.
© 1998 Robert John Morton