C Basics for Using FTP


next up previous contents
Next: D Tables of Useful Up: Yohkoh Software and Database Previous: B.2.2 Modifying Security to

C Basics for Using FTP

   

The following are some of the basic commands for using FTP. Several systems have anonymous FTP available. In these cases, use anonymous as the username, and your E-mail address for the password.

binary
use binary file type for transfer (for files such as idlsave files, Yohkoh data files, ...)
prompt
toggle between interactive and non-interactive prompting (it is important to be non-interactive when using `mget')
cd
change default directory on the remote machine
lcd
change default directory on the local machine
get
copy one file from remote to local
mget
copy several files from remote to local
put
copy one file from local to remote

A sample session might look like:
% ftp 133.74.8.100

username: guest

passwd: your_password

FTP> binary

FTP> cd /ys/sxt/doc

FTP> get travel_sxt.txt

FTP> cd /ys/gen/doc

FTP> prompt

FTP> mget papers.*

FTP> quit

%


ydac@mssly1.mssl.ucl.ac.uk