Re: Delete file on client side machine
From: Adrienne (arbpen2003_at_sbcglobal.net)
Date: 03/02/05
- Next message: roger: "Re: Color Code"
- Previous message: Paul: "Delete file on client side machine"
- In reply to: Paul: "Delete file on client side machine"
- Next in thread: Roland Hall: "Re: Delete file on client side machine"
- Reply: Roland Hall: "Re: Delete file on client side machine"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 02 Mar 2005 09:19:32 GMT
Gazing into my crystal ball I observed paul@legalperfect.co.za (Paul)
writing in news:282a5fa7.0503020003.738928d2@posting.google.com:
> Is it possible to delete a file on a client side machine using VB/JAVA
> script?
>
> My website allows the user to upload a file to the website and after
> that I would like to delete the file on their machine
>
> I tried this:
>
> Set fso = CreateObject("Scripting.FileSystemObject")
> fso.DeleteFile("C:\1-1-S.xml")
>
> But it is always looking to the server machine? How do I say delete
> file XYZ on client machine. Is this even possible with the security
> issues?
>
> Paul
>
Sure, delete *.*[1]
No, you can't do that. You could always put up some text telling the
client they should delete the file themselves.
[1] Back in the 80's, while I was out to lunch one day, one of the brokers
called the telcom person in the NY office. She said "Type in cd .. then
type in DEL *.*" The root was erased. Thank God I had Norton Unerase
floppies in my purse when I got back and restored everything.
-- Adrienne Boswell http://www.cavalcade-of-coding.info Please respond to the group so others can share
- Next message: roger: "Re: Color Code"
- Previous message: Paul: "Delete file on client side machine"
- In reply to: Paul: "Delete file on client side machine"
- Next in thread: Roland Hall: "Re: Delete file on client side machine"
- Reply: Roland Hall: "Re: Delete file on client side machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|