Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6327
| From | Todd Gayley <tgayley@wolfram.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Import files on accessible URL and save in |
| Date | 2011-11-10 11:59 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j9geaj$orv$1@smc.vnet.net> (permalink) |
| 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
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Import files on accessible URL and save in Todd Gayley <tgayley@wolfram.com> - 2011-11-10 11:59 +0000
csiph-web