How can we save a file at Client Machine?

 Posted by Chvrsri on 2/24/2012 | Category: C# Interview questions | Views: 4213 | Points: 40
Answer:

Generally browser will not allow us to save a file directly to a client machine however we can use this

Response.Redirect("http://server/filename"); 


Which will send the file back to the browser and the user will be prompted to Open/Save a file at this local system.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response