Полезная информация

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: DeleteChapter 19
Win32 Modules and Extensions
Next: Reference: List


$FTP->Get(file, [local, overwrite, flags, context])

Gets the remote FTP file and saves it locally in local. If local is not specified, it will be the same name as file. Returns undef on error. The parameters and their values are:


The name of the remote file on the FTP server.


The name of the local file to create.


If 0, overwrites local if it exists. With any other value, the function fails if the local file already exists. Default is 0.


Additional flags affecting the behavior of the function. None by default.


A number to identify this operation if it is asynchronous. See SetStatusCallback and GetStatusCallback for more information on asynchronous operations. None by default.

Previous: Reference: DeletePerl in a NutshellNext: Reference: List
Reference: DeleteBook IndexReference: List