BE_SaveURLToFile

BE_SaveURLToFile  ( url ; path {; username ; password } )

Does a http GET function and writes the result to disk. This uses the curl library so output will be similar to that.

Version : 1.2
Version : 2.3 - added functionality to optionally show a dialog during the download. To show the dialog, call BE_Curl_Set_Option ( "CURLOPT_NOPROGRESS" ; 0 ) before calling this function.

Parameters :
url : the url to retrieve.
path : the path to write the file to.
username ( optional ) : The username if the url requires authentication.
password ( optional ) : The password if the url requires authentication.

Result : the code or text or the last error generated by the function call.

Have more questions? Submit a request

0 Comments

Article is closed for comments.