.Op Ar command Op Ar args
.Cx
Invoke an interactive shell on the local machine.
If there are arguments, the first is taken to be a command to execute
directly, with the rest of the arguments as its arguments.
.Tp Cx Ic \&$
.Op Ar command Op Ar args
.Cx
Invoke an interactive shell on the local machine.
If there are arguments, the first is taken to be a command to execute
directly, with the rest of the arguments as its arguments.
.Tp Cx Ic \&$
If no argument is included, the user will be prompted for an account
password in a non-echoing input mode.
.Tp Cx Ic append
If no argument is included, the user will be prompted for an account
password in a non-echoing input mode.
.Tp Cx Ic append
Change the remote machine working directory to the parent of the
current remote machine working directory.
.Tp Cx Ic chmod
Change the remote machine working directory to the parent of the
current remote machine working directory.
.Tp Cx Ic chmod
.Tp Ic close
Terminate the FTP session with the remote server, and
return to the command interpreter.
.Tp Ic close
Terminate the FTP session with the remote server, and
return to the command interpreter.
different from expansion of the name of an ordinary file:
the exact result depends on the foreign operating system and ftp server,
and can be previewed by doing
different from expansion of the name of an ordinary file:
the exact result depends on the foreign operating system and ftp server,
and can be previewed by doing
Toggle hash-sign (``#'') printing for each data block
transferred. The size of a data block is 1024 bytes.
.Tp Cx Ic help
Toggle hash-sign (``#'') printing for each data block
transferred. The size of a data block is 1024 bytes.
.Tp Cx Ic help
.Op Ar local-file
.Cx
Print a listing of the contents of a
directory on the remote machine.
The listing includes any system-dependent information that the server
chooses to include; for example, most UNIX systems will produce
.Op Ar local-file
.Cx
Print a listing of the contents of a
directory on the remote machine.
The listing includes any system-dependent information that the server
chooses to include; for example, most UNIX systems will produce
-The macro processor interprets '$' and '\\' as special characters.
-A '$' followed by a number (or numbers) is replaced by the
+The macro processor interprets `$' and `\e' as special characters.
+A `$' followed by a number (or numbers) is replaced by the
-A '$' followed by an 'i' signals that macro processor that the
-executing macro is to be looped. On the first pass '$i' is
+A `$' followed by an `i' signals that macro processor that the
+executing macro is to be looped. On the first pass `$i' is
replaced by the first argument on the macro invocation command line,
on the second pass it is replaced by the second argument, and so on.
replaced by the first argument on the macro invocation command line,
on the second pass it is replaced by the second argument, and so on.
-A '\\' followed by any character is replaced by that character.
-Use the '\\' to prevent special treatment of the '$'.
+A `\e' followed by any character is replaced by that character.
+Use the `\e' to prevent special treatment of the `$'.
directory on the remote machine. If
.Ar remote-directory
is left unspecified, the current working directory is used.
directory on the remote machine. If
.Ar remote-directory
is left unspecified, the current working directory is used.
-Variable templating is accomplished by including the sequences '$1', '$2', ..., '$9' in
+Variable templating is accomplished by including the sequences `$1', `$2', ..., `$9' in
-The sequences '$1', '$2', ...., '$9' are replaced by any value resulting
+The sequences `$1', `$2', ...., `$9' are replaced by any value resulting
-as in the example: nmap $1 sed "s/ *$//" > $1 .
-Use the '\\' character to prevent special treatment
-of the '$','[','[', and ',' characters.
+as in the example: `nmap $1 sed "s/ *$//" > $1' .
+Use the `\e' character to prevent special treatment
+of the `$','[','[', and `,' characters.
Third party file transfers depend upon support of the ftp protocol
PASV command by the server on the secondary control connection.
.Tp Cx Ic put
Third party file transfers depend upon support of the ftp protocol
PASV command by the server on the secondary control connection.
.Tp Cx Ic put
for certain FTP implementations which do ignore PORT
commands but, incorrectly, indicate they've been accepted.
.Tp Cx Ic site
for certain FTP implementations which do ignore PORT
commands but, incorrectly, indicate they've been accepted.
.Tp Cx Ic site
.Ar arg1 arg2 ...
.Cx
The arguments specified are sent, verbatim, to the remote FTP
server as a SITE command.
.Tp Cx Ic size
.Ar arg1 arg2 ...
.Cx
The arguments specified are sent, verbatim, to the remote FTP
server as a SITE command.
.Tp Cx Ic size
By default \*(Lqstream\*(Rq structure is used.
.Tp Ic sunique
Toggle storing of files on remote machine under unique file names.
By default \*(Lqstream\*(Rq structure is used.
.Tp Ic sunique
Toggle storing of files on remote machine under unique file names.
If no type is specified, the current type
is printed. The default type is network ASCII.
.Tp Cx Ic umask
If no type is specified, the current type
is printed. The default type is network ASCII.
.Tp Cx Ic umask
be relayed to the remote server after the login sequence
is completed if the remote server did not require it
for logging in.
be relayed to the remote server after the login sequence
is completed if the remote server did not require it
for logging in.
To abort a file transfer, use the terminal interrupt key
(usually Ctrl-C).
Sending transfers will be immediately halted.
To abort a file transfer, use the terminal interrupt key
(usually Ctrl-C).
Sending transfers will be immediately halted.
command to the remote server, and discarding any further data received.
The speed at which this is accomplished depends upon the remote
server's support for ABOR processing.
command to the remote server, and discarding any further data received.
The speed at which this is accomplished depends upon the remote
server's support for ABOR processing.
If the delay results from unexpected remote server behavior, the local
.Nm ftp
program must be killed by hand.
If the delay results from unexpected remote server behavior, the local
.Nm ftp
program must be killed by hand.
remainder of the argument is interpreted as a shell command.
.Nm Ftp
then forks a shell, using
remainder of the argument is interpreted as a shell command.
.Nm Ftp
then forks a shell, using
.Ar name
.Cx
Identify a user on the remote machine.
If this token is present, the auto-login process will initiate
.Ar name
.Cx
Identify a user on the remote machine.
If this token is present, the auto-login process will initiate
account password, or the auto-login process will initiate an
ACCT command if it does not.
.Tp Cx Ic macdef
account password, or the auto-login process will initiate an
ACCT command if it does not.
.Tp Cx Ic macdef