Skip to content
⌘ NSIS Forum Archive

compare string as filename on local disk with filename on remote http address ?

4 posts

lucasx24#

compare string as filename on local disk with filename on remote http address ?

is it possible to compare filename on local hard disk with name of the file on remote http server ? if yes how to do this by easiest way ?

any help appreciated...
lucasx24#
thx afrow but is it possible using InetLoad Plugin or any other way to check few files names ie.
we have 3 versions of install

http://domain.com/anydir/app_v4.01.exe
http://domain.com/anydir/app_v4.04.exe
http://domain.com/anydir/app_v4.10.exe

and how to check without downloading these files which version is the newest one ? and then download this newest version...

any help appreciated...
Afrow UK#
Try Joelito's Internet plugin:


I've tried it and to be honest, I had a few strange issues with it (stack problems) but you can use it to check if a file exists. It isn't possible to get a list of files in a remote (Internet) folder though.

A much better solution would be to include a plain text file on your server with the latest download URL in it.
You download the text file with InetLoad to perhaps $PLUGINSDIR and read from it with FileOpen and FileRead (and FileClose).

-Stu