CONTENT
  • CHANGES
Szukaj
counter

#top ftp


ftp - Internet file transfer program

Powiązane:

SYNOPSIS
ftp [-pinegvd] [host]
pftp [-inegvd] [host]


DESCRIPTION



OPTIONS
-p
Use passive mode for data transfers. Allows use of ftp in environments where a firewall prevents connections from the outside world back to the client machine. Requires that the ftp server support the PASV command. This is the default now for all clients (ftp and pftp) due to security concerns using the PORT transfer mode. The flag is kept for compatibility only and has no effect anymore.

-i
Turns off interactive prompting during multiple file transfers.

-n
Restrains ftp from attempting "auto-login" upon initial connection. If auto-login is enabled, ftp will check the .netrc (see netrc(5)) 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 login.

-e
Disables command editing and history support, if it was compiled into the ftp executable. Otherwise, does nothing.

-g
Disables file name globbing.

-m
The default requires that ftp explicitly binds to the same interface for the data channel as the control channel in passive mode. Useful on multi-homed clients. This option disables this behavior.

-v
Verbose option forces ftp to show all responses from the remote server, as well as report on data transfer statistics.

-d
Enables debugging.


ENVIRONMENT
Ftp utilizes the following environment variables.
HOME For default location of a .netrc file, if one exists.
SHELL For default shell.



EXAMPLES
Contents .netrc
machine bluray.friko.pl
login bluray.friko.pl
password *********
machine bluray.w8w.pl
login bluray.w8w.pl
password *********
machine bluray.awardspace.co.uk
login blurays
password *********
machine bluray.freehost.pl
login bluray.freehost.pl
password *********
machine bluray.kgb.pl
login bluray.kgb.pl
password *********
machine bluray.cba.pl
login admin@bluray.cba.pl
password *********
machine bluray.srv.hu
login bluray
password *********

login with password from .netrc file
echo ls | ftp bluray.kgb.pl




Zmodyfikowany ostatnio: 2014/05/15 09:57:27 (9 lat temu), textsize: 3,01 kB, htmlsize: 3,55 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników