[wpkg-users] Replace xmlhttp download with curl/wget
Falko Trojahn
nospam_ft at smi-softmark.de
Thu Jul 14 13:33:15 CEST 2011
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, but FTP too.
>
> Cons:
> * WPKG would rely on an external binary (so it's foreign code, but at
> least no license problems)
...
> What do you think?
>
We could introduce similar option like "rebootCmd:special", where
psshutdown is used for reboot (from config.xml:
Setting rebootCmd to "special" will use tools\psshutdown.exe from
* from www.sysinternals.com - if it exists
).
So we can have predefined options for e.g. wget or curl in wpkg.js,
while preserving the possibility to use another tool.
Best regards,
Falko
More information about the wpkg-users
mailing list