Name
Get
Synopsis
$FTP->Get(file, [local,overwrite,flags,context])
Gets the remote FTP
file and saves it locally in
local. If
localis not specified, it will be the
same name as file. Returns undef on error. The parameters and
their values are:
fileThe name of the remote file on the FTP server.
localThe name of the local file to create.
overwriteIf
0, overwriteslocalif it exists. With any other value, the function fails if the local file already exists. Default is0.flagsAdditional flags affecting the behavior of the function. None by default.
contextA number to identify this operation if it is asynchronous. (See
SetStatusCallbackandGetStatusCallbackfor more information on asynchronous operations.) None by default.