$
ftp
->get
(
remote
[,
local
])
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.