Name
ftp
Synopsis
ftp [options
] [hostname
]
Transfers files to and from remote network site hostname
. ftp prompts the user for a command. Type help to see a list of known commands, and use the help command to view help on a specific command.
The ftp client included with Mac OS X supports auto-fetch, which allows you to perform a download with a single command line. To auto-fetch a file, supply its location as an argument to ftp in one of several formats:
ftp[
user
@
]host
:[path
][/
]ftp[
ftp://
[user
[:password
]@
]host
[:port
]/path
[/
]]ftp[
http://
[user
[:password
]@
]host
[:port
]/
path
]
Options
- -4
Only use IPv4 addresses.
- -6
Only use IPv6 addresses.
- -A
Force active mode for use with older servers.
- -a
Perform anonymous login automatically.
- -d
Enable debugging.
- -e
Disable command-line editing.
- -f
Perform a forced reload of the cache. Useful when transferring through proxies.
- -g
Disable filename globbing.
- -i
Turn off interactive prompting.
- -n
No autologin upon initial connection.
-
-N
filename
Use
filename
instead of ~/.netrc.-
-o
pathname
Save file as
pathname
when auto-fetching.- -p
Enable passive mode (the default).
-
-P
port
Specify alternate
port
number.-
-r
wait
Attempt to connect again after
wait
seconds if initial attempt fails.- -R
When auto-fetching, resume incomplete transfers (if not transferring through a proxy).
- -t
Enable packet tracing.
-
-T
direction
,maximum
[,increment
] Throttle transfer rates by specifying
direction
of transfer,maximum
transfer speed in bytes/second, and anincrement
value ...
Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.