Moo_DownloadFile  -  Download a file.

Moo_DownloadFile ( sFile );

This functions lets you download a file from the internet to the temporary folder and returns the path to the local file.

Parameters

NameTypeRequiredDefaultDescription
sFileStringYes The input file to be downloaded.

Return Value

Returns either the path to the downloaded text file, or an error code.

Notes

Can optionally be used with the Moo_ProgressOptions function.

Errors

Error CodeDescription
Moo_DownloadFile|Err_1Invalid number of arguments.
Moo_DownloadFile|Err_2Invalid input URL.
Moo_DownloadFile|Err_3File download failed.

Related Functions