Archive: Some NSISdl ideas


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....


Also, allow support for it to be called within functions, not just sections!

-Stu


The function "MakeSureIGotWinamp" in the Examples\waplugin.nsi file uses NSISdl.


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.


I take this chance to suggest 'resume' option.


Please add a feature request in the SourceForge project page. Without it, your ideas could be forgotten.


ok... done :)