InetLoad.dll - MS Inet API based plug-in for http/ftp downloads
Includes simple re-get functionality - reconnect after short 
pause (may require some commands support on the server side, 
but all modern servers do this).

Command line parameters (NSIS script):

  InetLoad::load [/SILENT] URL1 local_file1 [URL2 local_file2 [...]]

For example:

  InetLoad::load "http://dl.zvuki.ru/6306/mp3/12.mp3" "$EXEDIR\12.mp3" "ftp://dl.zvuki.ru/6306/mp3/11.mp3" "$EXEDIR\11.mp3"

/SILENT key hides plug-in window.
Return value - "OK" string if successfull, error description 
string if failed (see InetLoad.cpp for a full set of status 
strings). Result processing may be following:

  Pop $0
  StrCmp $0 "OK" dlok
  MessageBox MB_OK|MB_ICONEXCLAMATION "Download Error, click OK to abort installation" /SD IDOK
  Abort
dlok:
  ...

Takhir Bedertdinov, Moscow, Russia
ineum@narod.ru