start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

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

Get

$

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:

file

The name of the remote file on the FTP server.

local

The name of the local file to create.

overwrite

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

flags

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

context

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: Delete Perl in a Nutshell Next: Reference: List
Reference: Delete Book Index Reference: List