Archive: NSISdl problem


NSISdl problem
I keep getting "server did not specify content header length".I am assuming this has to do with the PHP set-up on the server,but as I cant make changes to the server software is there anyway for me to use this plug-in?or am i just stuck?


Can you download maunally what you are after from the server?


Have you tried the updated nsisdl plugin?

Updated Plugin Thread

I haven't had any of these problems, so I'm not sure if this will solve your problems. However, if you do a search in the forum for "nsisdl" you will find lots of threads.

Cheers!


Originally posted by b_avery@yahoo.c
Can you download maunally what you are after from the server?
ya I can dl manually no problems...just when I use the plugin i get "server did not specify content length"

@zimsms thanks for the suggestion but same result.

seems NSISdl.dll cant negotiate default php settings?

and ya ive searched.Only a couple obscure references to this problem but nothing concrete.

"server did not specify content header length".
anyone? ....anyone know why i get this and can i do anything?

The NSISdl plug-in requires the content length HTTP header. If you have dynamic PHP content you'll have to put the length of your data in a variable and you should send that header manually.


thxz joost for the reply...could you please supply a simple example? this action doesn't seem to be documented anywhere...and there's no real explaination i can find anywhere on this.Dynamic PHP should be fairly common....


See the bottom of this script for an example:

http://cvs.sourceforge.net/viewcvs.p...30&view=markup


link gives a "bad gateway" error...


That's because of SourceForge server maintenance, try again later.


hmm..maintenance seems to be taking a long time....is there a simple example that can just be attached or added to post?basically the syntax of how the header lenghth is added to a NSIS script?I dont think my case is unique...would be handy knowledge to be able to use the plugin to dl from a standard invision board.