Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,
how to create folder on client machine in asp.net
Posted

You can't.
Security will not allow you any access to the client hardware - you can't even tell if he had a HDD!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 1-Mar-12 5:16am    
Which is good. And all those ActiveX is pure evil.
My 5.
--SA
OriginalGriff 1-Mar-12 5:34am    
That's why I don't let them install...:laugh:
Sergey Alexandrovich Kryukov 1-Mar-12 20:32pm    
I know. Perhaps you are using the important principle: "Don't be evil".
Keep resisting... :-)
--SA
You can use these lines below for I.E, but client should give permission to use ActiveX objects otherwise you will get an error.
var fso = new ActiveXObject("Scripting.FileSystemObject");
var a = fso.CreateFolder("c:\\aa");
 
Share this answer
 
v2
Comments
Prashant Sonavane 5-Nov-12 5:52am    
I am getting following error SCRIPT429: Automation server can't create object
even after giving permission to ActiveX Object.and other method to create folder at client machine using asp.net..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900