Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6212 > unrolled thread
| Started by | Gy Peng <hitphyopt@gmail.com> |
|---|---|
| First post | 2011-11-05 09:45 +0000 |
| Last post | 2011-11-06 10:57 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Import files on accessible URL and save in local machine. Gy Peng <hitphyopt@gmail.com> - 2011-11-05 09:45 +0000
Re: Import files on accessible URL and save in local machine. Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-11-06 10:57 +0000
| From | Gy Peng <hitphyopt@gmail.com> |
|---|---|
| Date | 2011-11-05 09:45 +0000 |
| Subject | Import files on accessible URL and save in local machine. |
| Message-ID | <j930ka$a2j$1@smc.vnet.net> |
Dear Mathematica friends,
I want to Import some files stored on internet by:
Import["http://url", ...]
This allow me to see the file in the notebook of mathematica. However, what
I want to do is to download and save the files in local machine. And since
I have may be hundreds or thousands files need to be download and save. Is
there any why in Mathematica to do it in a most optimized and fast way?
And can read the file names in a single string in Mathematica like:
{ file1, file2, file3, file4, ...}
How could I make a loop in Mathematica to download and save all of them in a same directory in local machine by Mathematica?
I would thank you for all your kind reply and help!!!!
[toc] | [next] | [standalone]
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Date | 2011-11-06 10:57 +0000 |
| Message-ID | <j95p6f$m6b$1@smc.vnet.net> |
| In reply to | #6212 |
On Nov 5, 8:45 pm, Gy Peng <hitphy...@gmail.com> wrote:
> Dear Mathematica friends,
>
> I want to Import some files stored on internet by:
>
> Import["http://url", ...]
>
> This allow me to see the file in the notebook of mathematica. However, what
> I want to do is to download and save the files in local machine. And since
> I have may be hundreds or thousands files need to be download and save. Is
> there any why in Mathematica to do it in a most optimized and fast way?
>
> And can read the file names in a single string in Mathematica like:
>
> { file1, file2, file3, file4, ...}
>
> How could I make a loop in Mathematica to download and save all of them in a same directory in local machine by Mathematica?
>
> I would thank you for all your kind reply and help!!!!
if you want to download a lot of files and store them locally then use
wget
http://www.gnu.org/s/wget/
or curl
http://en.wikipedia.org/wiki/CURL
etc.
Mike
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web