|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Delete file on client side machine
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 Gazing into my crystal ball I observed p***@legalperfect.co.za (Paul)
Show quote writing in news:282a5fa7.0503020003.738928d2@posting.google.com: Sure, delete *.*[1]> 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 > 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 "Adrienne" wrote in message
Show quote news:Xns960DD7C5C76Darbpenyahoocom@207.115.63.158... I've never had Norton UnErase floppies in my purse...or a purse either. : Gazing into my crystal ball I observed p***@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. (O:= -- Roland Hall /* This information is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. */ Technet Script Center - http://www.microsoft.com/technet/scriptcenter/ WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp |
|||||||||||||||||||||||