Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6212

Import files on accessible URL and save in local machine.

From Gy Peng <hitphyopt@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Import files on accessible URL and save in local machine.
Date 2011-11-05 09:45 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j930ka$a2j$1@smc.vnet.net> (permalink)

Show all headers | View raw


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!!!!

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

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

csiph-web