ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы.



Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 16.2 Net::FTPChapter 16
FTP
Next: Reference: abort
 

new

 $ftp = Net::FTP->new(host[, options])

Constructs a new Net::FTP object. Arguments are:

host

The name of the remote host.

options

A hash specifying any of the following information:

Firewall

Name of an FTP firewall.

Port

Port number to use for the FTP connection. Defaults to 21.

Timeout

Timeout value. Defaults to 120 seconds.

Debug

Debug level.

Passive

True or false, specifying whether to perform transfers in passive mode.


Previous: 16.2 Net::FTPPerl in a NutshellNext: Reference: abort
16.2 Net::FTPBook IndexReference: abort