dcmorrell
asked on
asp.net: Create a virtual file programmatically, then download it to the clients computer.
I'm trying to programmatically create a .txt file then download it a client's computer. The only condition is that I do not want to save the file to the server; everything has to be virtual.
Here is the Pseudo-code to give you a better idea of what I'm trying to do:
dim file as file
file.type = ".txt."
file.contents("some text")
'Prompt user to then download this file
Really, I'm just expecting a "point in the right direction" rather than an answer. I prefer VB.NET but C# is fine.
Here is the Pseudo-code to give you a better idea of what I'm trying to do:
dim file as file
file.type = ".txt."
file.contents("some text")
'Prompt user to then download this file
Really, I'm just expecting a "point in the right direction" rather than an answer. I prefer VB.NET but C# is fine.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Go through response object in MSDN.
ASKER
Is there a guide or tutorial page out there that could elaborate on this process?
I'll use it, but I'd like to have a comprehensive understanding of what I'm doing.