11.C.4: Next Transferring Large File Structures  11: Up Multiple Machines  11.C.2: Prev Transferring Individual Files  Contents Contents

Basic

§ 11.C.3: ftp: Multiple File Transfers


To transfer several files with one ftp subcommand, use the multiple put and get:

Let's use mput with the wildcard character * (every file) to backup all of your C programs in directory ~/development/prog on local: The behavior of ftp during muliple transfer is controlled somewhat by whether you toggle "prompting" on or off with Prompting "on" prompts you before each file is transfered, prompting "off" copies all files without stopping. Without prompting, ftp should respond with something like:
11.C.4: Next Transferring Large File Structures  11: Up Multiple Machines  11.C.2: Prev Transferring Individual Files