Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I Create Electronic Data Interchage(EDI)genareter for my system.I host my web.EDI successfully Create But txt file not save Local Computers.txtFile save a only Server Computer. 

This Is my Path 

    TextWriter sw = new StreamWriter(@"C:\\OUTBOUND\\" + newdate + ".TXT");
    String path = @"C:\\OUTBOUND\\" + newdate + ".TXT";

I Create OUTBOUND Folder every Computer.

How to solve this problem.

Thak You
Posted

1 solution

In a web application you are using a web browser as client and you do not have access to the file system of the client that use your application. So the answer is this cannot be done!
 
Share this answer
 
Comments
[no name] 26-Mar-14 3:52am    
How client get Create Files.Client Need This File.
Raul Iloc 26-Mar-14 4:16am    
Normally your client should use the Download link from your web application and a "save as" dialog from the browser will help him/her to save the file locally.

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