http_getfile
Downloading a file via the HTTP protocol. The method sends a GET request to the specified URL and writes data it receives to the specified file.
func uint http_getfile (
str url,
str filename,
uint notify,
uint flag
)
str url,
str filename,
uint notify,
uint flag
)
Parameters
url | The URL address for downloading. | ||||||||
filename | The name of the file for writing. | ||||||||
notify | The function for getting notifications. It can be 0. | ||||||||
flag | Flags.
|
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |