Name
get
Synopsis
$ftp
->get(remote
[, local
])
Description
Retrieves a file from the server. If specified, local is the name to give the file on the local system, otherwise the name stays the same. Arguments are:
- remote
Name of the file to retrieve from the remote system.
- local
Either the new filename on the local system, or a filehandle. If omitted, the same filename is used.
Get Perl in a Nutshell 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.