Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
Can we create a file in client's local C or D drive from server IIS?

Thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 21-Aug-13 1:35am    
Why?
—SA

You cannot. The client's machine is not accessible for Web application. Thanks goodness! If it was accessible, who would agree to use such Internet?

—SA
 
Share this answer
 
Comments
Member 9762654 21-Aug-13 1:29am    
is there any alternate solution for this because i dont want to create file in my server
Sergey Alexandrovich Kryukov 21-Aug-13 1:34am    
Let me ask you: can you read? I answered the question, and I mean it.
"Alternate solution" is the notion applicable to the case when there is at least one solution. :-)
—SA
Yes you can create files on client machine by using javascript code or activex control embeded in your page...

server side code written in c# or other language can not create files on client machine.


Yes it will work in all browsers....

like :

create activex control and applets for IE
create plug-ins and applets for FIREFOX AND CROME...
 
Share this answer
 
v2
Comments
Member 9762654 21-Aug-13 1:34am    
will this support in all browsers?
Dineshshp 21-Aug-13 1:53am    
Yes it will..
in IE activex / applet
in MOZILA/CROME plug-ins / applet
Member 9762654 21-Aug-13 2:36am    
but i am getting this error Automation server can't create object
Dineshshp 21-Aug-13 2:55am    
please provide your code and browser name which u r using...
Member 9762654 21-Aug-13 3:15am    
i solved thanks for your response
Please provide your code and browser name which u r using...
 
Share this answer
 
Please provide your code and browser name which u r using...
 
Share this answer
 

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