-<tt>get</tt>/<tt>recv</tt>: Transfer From Other



next up previous contents
Next: -mget: Multiple Transfer Up: FTP Common Commands Previous: -hash: active transfer

-get/recv: Transfer From Other

The syntax for get is the same as for put:

get [remote_file [local_file]]
If invoked by itself, get will prompt for remote_file, then for local_file. If only one parameter is used, local_file will be assumed to be the same as remote_file.

If local_file is set to -, it will be taken as standard output (i.e. the screen). For example,

get README -
will display the content of README on the screen.

get remote_file ``| command"
will run the local command using remote_file as input.

Example:

get README ``| more"



Super-User
Fri Feb 17 15:55:40 EST 1995