Reference

ftp(1)

File Transfer Protocol client.

NAME

ftp - File Transfer Protocol client.

SYNOPSIS

ftp [OPTION...] [HOST [PORT]]

DESCRIPTION

Remote file transfer.

-4, --ipv4

contact IPv4 hosts

-6, --ipv6

contact IPv6 hosts

-A, --active

enable active mode transfer

-d, --debug

enable debugging output

-e, --no-edit

disable command line editing

-g, --no-glob

turn off file name globbing

-i, --no-prompt

do not prompt during multiple file transfers

-n, --no-login

do not automatically login to the remote system

-N, --netrc=NETRC

select a specific initialization file

--prompt[=PROMPT]

print a command line PROMPT (optionally), even if not on a tty

-p, --passive

enable passive mode transfer, default for `pftp'

-t, --trace

enable packet tracing

-v, --verbose

verbose output

-?, --help

give this help list

--usage

give a short usage message

-V, --version

print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

AUTHOR

Written by many authors.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

ftpd(1)

The full documentation for ftp is maintained as a Texinfo manual. If the info and ftp programs are properly installed at your site, the command

info ftp

should give you access to the complete manual.

History

--active since Arch Linux 2026-11-01; --debug since Arch Linux 2026-11-01; --help since Arch Linux 2026-11-01; --ipv4 since Arch Linux 2026-11-01; --ipv6 since Arch Linux 2026-11-01; --netrc since Arch Linux 2026-11-01; --no-edit since Arch Linux 2026-11-01; --no-glob since Arch Linux 2026-11-01; --no-login since Arch Linux 2026-11-01; --no-prompt since Arch Linux 2026-11-01; --passive since Arch Linux 2026-11-01; --prompt since Arch Linux 2026-11-01; --trace since Arch Linux 2026-11-01; --usage since Arch Linux 2026-11-01; --verbose since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01; -4 since Arch Linux 2026-11-01; -6 since Arch Linux 2026-11-01; -? since Arch Linux 2026-11-01; -A since Arch Linux 2026-11-01; -N since Arch Linux 2026-11-01; -V since Arch Linux 2026-11-01; -e since Arch Linux 2026-11-01; -p since Arch Linux 2026-11-01; -t since Debian 3.0 (Woody).

-U until Debian 1.2 (Rex); -f until Debian 3.0 (Woody); -k until Debian 3.0 (Woody); -u until Debian 3.0 (Woody); -x until Debian 3.0 (Woody).