MathGroup Archive 2011

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

Search the Archive

Re: Import files on accessible URL and save in

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122773] Re: Import files on accessible URL and save in
  • From: Todd Gayley <tgayley at wolfram.com>
  • Date: Thu, 10 Nov 2011 06:52:32 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201111050945.EAA10302@smc.vnet.net>

At 09:59 AM 11/9/2011, Patrick Scheibe wrote:
>Hi,
>
>I have written a small application which uses FetchURL to download and
>install a Mathematica-package of mine from within Mathematica and
>without external tools like wget, tar, ..
>
>There, I came across this behaviour too. On windows, and only on
>windows, I was not able to remove my temporary "package installer"
>although I closed every used file.
>
>When I remeber right, I could remove it *after* killing the kernel which
>is a bit useless if you want to download, install and remove temp. stuff
>in one function call and leave the user with a fresh installed new
>package.


Patrick,

I think your inability to delete the file is caused by what you are 
doing with the file after the download. You should be able to delete 
files created by FetchURL:

    DeleteFile[FetchURL["some url"]]


Todd Gayley
Wolfram Research




  • Prev by Date: Re: FinancialData - how to find ticker symbols?
  • Next by Date: Re: AspectRatio -> 1 vs AspectRatio ->1.25
  • Previous by thread: Re: Import files on accessible URL and save in
  • Next by thread: Re: Import files on accessible URL and save in