Name

login

Synopsis

$ftp->([login[, passwd[, account]]])

Logs user into an FTP server. Arguments are:

login

Login name. If not specified, defaults to anonymous or to the value in $HOME/.netrc.

passwd

Password. If not specified, defaults to the user’s email address or to the value in $HOME/.netrc.

account

Additional account information for files on the FTP server that have special access restrictions.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.