
: Downloads the designated file from FileHippo and/or returns the latest verison number Syntax.: _FileHippoDownload($sProgramTitle, $sDownloadFolder) Parameters. #ce #include-once #include #FUNCTION# = Name.: _FileHippoDownload Description.

If _IsPressed("77") Then Return False Abort on F8 ProgressSet($Percentage, $Percentage & "%") $test = _FileHippoDownload("firefox", & "\downloads\", "", True, False, Debug(' & & ') : $test = ' & $test & & '>Error code: ' & & # Debug Console ProgressOn("FileHippo Download", "Downloading : Firefox") $AVG64_down = _FileHippoDownload("avg_antivirus_64", & "\file_includes", "install_avg_64.exe", True) $AVG32_down = _FileHippoDownload("avg_antivirus_32", & "\file_includes", "install_avg_32.exe", True) MsgBox(0, "Error", malwarebytes_anti_malware") $MWB_down = _FileHippoDownload("malwarebytes_anti_malware", & "\file_includes", "install_malware.exe", True) ProgressOn ( "FileHippo Download", "Downloading : malwarebytes_anti_malware" ) $test = _FileHippoDownload ( "malwarebytes_anti_malware", & "\downloads\", "", True, True, "_UpdateProgress" ) ConsoleWrite ( Debug(' & & ') : $test = ' & $test & & '>Error code: ' & & ) # Debug Console ProgressOff ( ) _ArrayDisplay ( $test ) Exit #include Func _UpdateProgress ( $Percentage ) ProgressSet ( $Percentage, $Percentage & "%" ) If _IsPressed ( "77" ) Then Return False Abort on F8 Return True bei 1 Fortsetzten EndFunc =>_UpdateProgressĬonsoleWrite("Start: malwarebytes_anti_malware")

If you have any advice or improvements please let me know. If you've helped me on this let me know (IM) and I'll add your name. I've had help writing this but can't remember who. The usage is straight froward and all in the header so I haven't included a test file. This has come in useful in a few projects now so I thought I'd release it and maybe it'll be useful for others.
