Archive: Reading remote file timestamp


Reading remote file timestamp
Hi there,

Is there a way for a NSIS installer to read the timestamp of a remote file??

Regards,
Michael


Using which protocol?


I use the InetLoad plugin to download a package component during the installation.

Currently, I download a small text file which contains the version information and read and parse its contents on the hard disk.
However, I would like to be able to check the timestamp of the remote file I am just about to download.

As for the protocol, perhaps if I could make an http request to a web proxy that would provide the file timestamp which I could further get back into the install wizard??

Frankly, I do not know what is possible. Any hints??

Regards,
Michael


If you already have another file with the version, I'd stick to that. It's way more reliable than timestamps.


I'd store an Md5 hash in that text file and compare with that after it has downloaded.

Stu