Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Saving files from the web

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111187] Saving files from the web
  • From: Rui <rui.rojo at gmail.com>
  • Date: Fri, 23 Jul 2010 07:10:32 -0400 (EDT)

I want to save some files from the web to the disk. I already
generated the list of strings with the urls of the files I want to
get, urlList, and I want them to keep the same names under the
directory stored in the variable "dir". But my difficulty is in
getting a file from the web and saving it to disk without Mathematica
interpreting anything about the format. FileCopy doesn't seem to work.

Files are in zip, doc and pdf formats but I'm looking for a format-
independent way. Should be easy, just binary import-export, but it's
giving me a hard time.

Any easy way to tell Mathematica to do this?

Thanks


  • Prev by Date: Re: Convert directed graph to undirected graph
  • Next by Date: Re: Hatched shading?
  • Previous by thread: Re: Inverse of a six-parameter asymmetric sigmoidal curve
  • Next by thread: Re: Saving files from the web