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
- References:
- Import files on accessible URL and save in local machine.
- From: Gy Peng <hitphyopt@gmail.com>
- Import files on accessible URL and save in local machine.