Pravin Ghadge

Pravin Ghadge

  • 570
  • 2.1k
  • 586k

Opening File from client machine browser in c#.net MVC

Nov 23 2017 1:58 AM
Hi All,
 
I am trying to open file saved at network location using
 
  1.   System.Diagnostic.Process.Start(@"\\Server01\Demo\myfile1.doc");
 
This code was working fine when i was working at local environment.
 
Now i have deployed the website on IIS at Server machine.  
 
Now when i am trying to open the same file its not open.
 
I know that it is going to open at server machine.
 
But my requirement is to open the file (not download) from my client machine browser.
 
I have searched many links on google but not found any solution ;)

Answers (2)