download

download ( string url , string path , array[string] _data ) : void

Download an Internet file on your hard disk.

Example


download("http://www.site.eu/downloads/file.pdf", path("tmp")+"tmp.pdf" )

Parameters

url

Distant file

path

on your disk

_data (optional)

associative array of string with the content of the form