ftp(1)

NAME

ftp - Internet file transfer program

SYNOPSIS

ftp [-46AadefginpRtvV] [-N netrc] [-o output] [-P port]  [-q
quittime]
    [-r retry] [-T dir,max[,inc]] [[user@]host [port]]
    [[user@]host:[path][/]] [file:///path]
    [ftp://[user[:password]@]host[:port]/path[/][;type=X]]
    [http://[user[:password]@]host[:port]/path] [...]
ftp -u URL file [...]

DESCRIPTION

Arraynetwork site.

Arraypreter.

-4 Forces ftp to only use IPv4 addresses.

-6 Forces ftp to only use IPv6 addresses.

Array-R Restart all non-proxied auto-fetches.

-t Enables packet tracing.

Arrayuser. The following commands are recognized by ftp:

Arrayless file A synonym for page.

Arrayand any mdelete will delete all files.

Arrayq Terminate the current operation.

y Answer `yes', and transfer the file.

ArrayIf maximum is 0, disable the throttle.

Arraydisplayed.

Arraymarks.

Arrayforce the setting appropriately.

Arrayformat as the standard completion message.

AUTO-FETCHING FILES

Arraynames/files on the command line.

Arrayotherwise prompt the user for one.

Arraydefault transfer type is binary.

Arraypart of an ``ftp://'' auto-fetch URL as follows:

Arrayof the indicated commands:

Arraynames.

ArrayHTTP 1.0.

Arraybytes=' HTTP/1.1 directive.

Arrayenter a username and password to authenticate with.

Arrayfor the port number.

ABORTING A FILE TRANSFER

Arrayrequested file.

Arrayuseful.

FILE NAMING CONVENTIONS

Arraythe following rules.

Arraythen be altered by the remote server if sunique is on.

FILE TRANSFER PARAMETERS

Arraysize 8 for tenex mode transfers.

Arrayparameters: mode, form, and struct.

THE .netrc FILE

Arrayrated by spaces, tabs, or new-lines:

Arraydefault
macdef init
epsv4 off
followed by a blank line.

COMMAND LINE EDITING

Arraywell.

Arrayeditrc(5) for more information.

Arraydefault, this is bound to the TAB key.

COMMAND LINE PROMPT

ArrayThis can be changed with the set prompt command.

Arraymand input) with the set rprompt command.

Array%/ The current remote working directory.

Array`%c') or ``...trailing'' (for `%.').
%M The remote host name.
%m The remote host name, up to the first `.'.
%n The remote user name.
%% A single `%'.

ENVIRONMENT

ftp uses the following environment variables.

Arrayactive active mode FTP only

ArrayNETRC An alternate location of the .netrc file.

Arraynot defined, use the standard FTP protocol).

Array1738 `%XX' encoding.

Arraythat use it (such as lynx(1)).

Arrayconnections to that port.

EXTENDED PASSIVE MODE AND FIREWALLS

Arrayautomatic.

SEE ALSO

getservbyname(3), editrc(5), services(5), ftpd(8)

STANDARDS

ArrayRFC 2389, RFC 2428, RFC 2732, and draft-ietf-ftpext-mlst-11.

HISTORY

The ftp command appeared in 4.2BSD.

Array<lukem@NetBSD.org>.

Arraysystem supports IPv6 in a similar manner to KAME).

BUGS

Arrayremote server.

Arraytype. Avoid this problem by using the binary image type.

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout