> From: Raul Miller > Sent: Thursday, 12 August 2010 10:46 > > On Wed, Aug 11, 2010 at 5:51 PM, Sherlock, Ric > <[email protected]> wrote: > > That doesn't mean that it wouldn't be nice to be able to read the > file directly from the internet to an array. This isn't possible on > Windows right now because of what may be a bug in wget. Using curl > rather than wget works fine. > > Actually, it's possible (download to a file). > > It's just not the sort of simple that I was hoping for.
What I meant/said was that it isn't currently possible to download a file directly from the internet to a J array. Downloading to a file first doesn't achieve that. I agree that it would be nice to make it simpler. I don't see the wget binaries changing anytime soon so a work-around for the web/gethttp addon might be to ship the curl.exe file with the addon for Windows users and use that rather than the wget.exe shipped with J. Obviously this would (significantly) increase the size of the addon for those users, but at least it would work!! If Jsoftware subsequently decided to replace ~tools/ftp/wget.exe with ~tools/ftp/curl.exe then the addon could use that instead. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
