ftp

Usage

ftp [[OPTIONS]] [hostname]

Flags

Usage: { ftp | pftp } [-46pinegvtd] [hostname]
   -4: use IPv4 addresses only
   -6: use IPv6, nothing else
   -p: enable passive mode (default for pftp)
   -i: turn off prompting during mget
   -n: inhibit auto-login
   -e: disable readline support, if present
   -g: disable filename globbing
   -v: verbose mode
   -t: enable packet tracing [nonfunctional]
   -d: enable debugging

Examples

Connect to FTP host

ftp <host>

List files

ls

Move around

cd <dir>

Download

get <file>

Upload

(file should be in CWD where ftp was started, else use full path)

put <file>

Get all TXT files

mget *.txt

Also see

N/A