Skip to content
⌘ NSIS Forum Archive

Reading remote file timestamp

5 posts

k_hejwosz#

Reading remote file timestamp

Hi there,

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

Regards,
Michael
k_hejwosz#
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
kichik#
If you already have another file with the version, I'd stick to that. It's way more reliable than timestamps.