Skip to content
⌘ NSIS Forum Archive

Some NSISdl ideas

7 posts

Joel#

Some NSISdl ideas

I have this ideas that can improve NSISdl plugin:
- Support for "SetBkColor"...
- 2 or 3 download sites. I one of them fail after a certain time,
the plugin connect to another download site....
- Enable the cancel button in download_quiet....
banaman8d#
Pushing Last-Modified HTTP header

I also have a good idea for NSISdl:

So that people can check timestamps of files and not download them if they are older than a local version, the HTTP header value for Last-Modified should be converted to a consistent date stamp and pushed on the stack so users can compare file times.

The time stamps may not be that meaningful when comparing to a local file, but if you are updating files over http, you can compare the timestamp of the file when you first downloaded it, with the timestamp of a file you got from an HTTP HEAD request.

Oh yeah, and there should be a nsisdl::getheader "http://..."
so you can get the headers without transferring the file.
kichik#
Please add a feature request in the SourceForge project page. Without it, your ideas could be forgotten.