Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-09-09 Thread Rainer Meier
Hi Marco, On 18.07.2011 15:24, Marco Gaiarin wrote: Mandi! Rainer Meier In chel di` si favelave... So for me there would be only one compromise we could potentially think about: Ship WPKG with a download-helper script. I ''vote'' for this compromise. ;-) Really: someone insert the tag,

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-18 Thread Marco Gaiarin
Mandi! Rainer Meier In chel di` si favelave... > So for me there would be only one compromise we could potentially think about: > Ship WPKG with a download-helper script. I ''vote'' for this compromise. ;-) Really: someone insert the tag, so seems to me a bad idea to remove it. So: a) extend

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-15 Thread Rainer Meier
Hi Marco, On 15.07.2011 11:32, Marco Gaiarin wrote: + WSH, as stated in this list, have poor performance and limited features when downloading This is absolutely clear. That's also a reason why I do not really support the tag in particular. I think it's just a legacy feature for very basi

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-15 Thread Marco Gaiarin
Mandi! Rainer Meier In chel di` si favelave... > Is there a reason this could not be done using existing commands? [...] > I agree that using a "special download command" flag would be > possible too. I would then prefer to call a cmd script (included in > wplkg distribution) with all required p

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread Rainer Meier
Hi Marco, On 14.07.2011 15:13, Marco Gaiarin wrote: Mandi! heiko.hel...@horiba.com In chel di` si favelave... Great idea! But this'll require another external tool, because hash calculation via WSH is a world of slow. I've speaked about a script exactly for that. It is trivial in a CMD s

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread Marco Gaiarin
Mandi! heiko.hel...@horiba.com In chel di` si favelave... > Great idea! But this'll require another external tool, because hash > calculation > via WSH is a world of slow. I've speaked about a script exactly for that. It is trivial in a CMD script to execute firstly curl/wget to download file

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread Falko Trojahn
Am 14.07.2011 14:55, schrieb heiko.hel...@horiba.com: So we can have predefined options for e.g. wget or curl in wpkg.js, while preserving the possibility to use another tool. ...eg, a script (cmd suffices?!) that also check the MD5 of the file, preventing wpkg tring to install ever an ever tha

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread heiko . helmle
> > So we can have predefined options for e.g. wget or curl in wpkg.js, > > while preserving the possibility to use another tool. > > ...eg, a script (cmd suffices?!) that also check the MD5 of the file, > preventing wpkg tring to install ever an ever that corrupted installer. > ;-) > > This clea

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread Marco Gaiarin
Mandi! Falko Trojahn In chel di` si favelave... > So we can have predefined options for e.g. wget or curl in wpkg.js, > while preserving the possibility to use another tool. ...eg, a script (cmd suffices?!) that also check the MD5 of the file, preventing wpkg tring to install ever an ever that

Re: [wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread Falko Trojahn
Hello, So maybe we could (optionally) have an external tool handle the "download" tag - curl or wget are excellent specialised (and free/GPL) tools. Pros: * much more robust than the WSH download method * saves memory * faster (probably because of the memory savings) * Support not only for HTTP

[wpkg-users] Replace xmlhttp download with curl/wget

2011-07-14 Thread heiko . helmle
Hello, While wondering why is so slow, i looked around. The problem with WSH and URL downloads is: * It's a kludge. That's why it's documented as "should not use" * It even can crash the CMD-window WPKG runs in. * It works only with HTTP * It loads the file completely into memory before dumping