MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using sockets for "downloader" application in Mathematica


As an example this works for me...

Import["http://ichart.finance.yahoo.com/table.csv?s=%5EDJI&a=09&b=1&c=20
00&d=01&e=9&f=2006&g=m&ignore=.csv","CSV"]

Cheers,

Mitch Stonehocker

-----Original Message-----
From: Renan [mailto:renan.birck at gmail.com] 
To: mathgroup at smc.vnet.net
Subject: [mg64306] [mg64288] Using sockets for "downloader" application in
Mathematica

Hello,

I have a Mathematica program which will read data from a file. 
The file is in a Web server and so must be retrieved,
so I use 

!"wget http://URL/filename";


In Linux this is OK, but in Windows this is a source of trouble for me, 
as Windows doesn't have a 'wget' by default.

So, is there some way to implement a "downloader" for a file in 
Mathematica?


Running Mathematica 5.2, Windows XP.


Thanks,
Renan.


  • Prev by Date: Re: Using Get in a Module
  • Next by Date: Re: mathematica problems with nautilus
  • Previous by thread: Re: Using sockets for "downloader" application in Mathematica
  • Next by thread: Re: Using sockets for "downloader" application in Mathematica