Archive: NSISdl or similar plugin: force download on "Server did not specify content length"


NSISdl or similar plugin: force download on "Server did not specify content length"
Hi,

I'm new to NSIS and I'm stumbling on a rather simple problem.

I'm trying to use NSISdl to download the output of a remote script which I don't control (external proprietary service).

It should be as simple as:
NSISdl::download /TIMEOUT=10000 "http://some.url/script.php?param=1234" $HTTP_FILE

However, $HTTP_FILE is not downloaded because I receive the following error:
"Server did not specify content length"

How can I force NSISdl to ignore content-length?

I would like to do something as simple as:

wget "http://some.url/script.php?param=1234"
(wget downloads the file or script output regardless of the content-length advertized by the server)

Can NSISdl do this and how?
Are there other plug-ins that are better suited for this?

Thanks!

VDP


I just discovered inetc which seems to be more appropriate for what I'm trying to do.