Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th October 2008, 20:59   #1
VDP
Junior Member
 
Join Date: Oct 2008
Posts: 2
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
VDP is offline   Reply With Quote
Old 17th October 2008, 21:27   #2
VDP
Junior Member
 
Join Date: Oct 2008
Posts: 2
I just discovered inetc which seems to be more appropriate for what I'm trying to do.
VDP is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump