Many command line options have counterparts among the commands handled by the internal interpreter.
Initially set addressing to IPv4 only.
Initially set addressing to IPv6 only.
Enable active mode transfer. Default mode for
Enable debugging output and possibly also socket debugging.
Disables the editing of commands. This is default setting for batch mode, without a TTY.
Disables file name globbing.
Turns off interactive prompting during multiple file transfers.
Set a preferred location of the .netrc file,
thus overriding any environment setting in
as well as the default location $HOME/.netrc,
see The .netrc file.
ftp from attempting auto-login upon initial
connection. If auto-login is enabled,
ftp will check the
.netrc (see The .netrc file) file in the user’s home
directory for an entry describing an account on the remote machine.
If no entry exists,
ftp will prompt for the remote machine
login name (default is the user identity on the local machine), and,
if necessary, prompt for a password and an account with which to
Enable passive mode transfer. Default mode when invoked
Print a command-line prompt, even if not on a tty. If prompt is supplied, its value is used instead of the default ‘ftp> ’. Notice, that the argument is optional.
Enable packet tracing (not implemented).
Start in verbose mode, printing informational messages. This is default for interactive mode.