Convinced boss to purchase. Love what I have been able to do so far.
Have a problem that I cannot seem to find an answer to and cannot figure out.
Need an ASP.NET (C# preferred) code snippet or sample that does the following things:
Create 1 to many uniquely named text (*.csv) files in memory (MemoryFolder). Not on server file system. Write lines of text to files using something similar to System.IO.Streamwriter.Writeline.
Zip up these text files into file on same MemoryFolder. Again not on server file system.
Download resulting zip to end user.
I have the above working using the server file system for text file generation, zip file generation, and subsequent zip file download to web page end user. Requires the web application’s IIS App Pool to run under a security context with Write permissions to file system folder – I want to eliminate this requirement and use the MemoryFolder and MemoryFile constructs. I can supply this code if needed.
Imported from legacy forums. Posted by Blue67 (had 2255 views)