
f
ftp(1) | Kerberos | ftp(1) |
NAME
ftp - ®le transfer program
SYNOPSIS
ftp
DESCRIPTION
ftp is a user interface to the File Transfer Protocol. ftp copies ®les over a network connection between the local ``client'' host and a remote ``server'' host. ftp runs on the client host.
Options
The ftp command supports the following options:
Note: A large buffer size will improve the performance of ftp on fast links (e.g., FDDI), but may cause long connection times on slow links (e.g., X.25).
The name of the server host that ftp communicates with can be speci®ed on the command line. If the server host is speci®ed, ftp immediately opens a connection to the server host; see the open command, below. Otherwise, ftp waits for commands from the user.
File Transfer Protocol speci®es ®le transfer parameters for type, mode, form, and struct. ftp supports the ASCII, binary, and tenex File Transfer Protocol types. ASCII is the default FTP type. (It should be noted though that, whenever ftp establishes a connection between two similar systems, it switches automatically to the more ef®cient binary type.) ftp supports only the default values for the ®le transfer parameters mode which defaults to stream, form which defaults to
COMMANDS
ftp supports the following commands. Command arguments with embedded spaces must be enclosed in quotes (for example, "argument with embedded spaces").
![ command [ args ] ]
Invoke a shell on the local host. The SHELL environment variable speci®es which shell program to invoke. ftp invokes /usr/bin/sh if SHELL is unde®ned. If command is speci®ed, the shell executes it and returns to ftp. Otherwise, an interactive shell is invoked. When the shell ter- minates, it returns to ftp.
$
Execute the macro
account [ passwd ]
Supply a supplemental password required by a remote system for access to resources once a login has
Section 1−302 | − 1 − |