Rudebox.co.nr How To Forums

Rudebox How To Forums - Ask Anything, View How To's
 
HomeFAQSearchRegisterMemberlistUsergroupsLog in

Share | 
 

 ASP.net : how to save a file in memory on user computer

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin
avatar

Number of posts : 216
Registration date : 2007-01-01

PostSubject: ASP.net : how to save a file in memory on user computer   Mon Jan 01, 2007 4:23 pm

How to save dynamic information on user client computer
Keywords: How to save dynamic information on user client computer, How to save a file that has not been created on user computer, how to save a file in memory on user computer

1. Convert the data in the file that you want to write into String

2. Then do as below

'here str is a string

Dim str As String = "THIS IS AN XML FILE"
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename=ad.xml")
Response.Write(str)
Response.End()
Back to top Go down
View user profile http://rudebox.editboard.com
 
ASP.net : how to save a file in memory on user computer
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Help me with a custom Save File, anyone?
» Help! Used D2SE and my save file is gone..
» PlugY, Could not create the shared save file.
» Save games backup
» PlugY, The Survival Kit extended save error message

Permissions in this forum:You cannot reply to topics in this forum
Rudebox.co.nr How To Forums :: How To - Myspace / Website /Blog Utilities :: ASP .net-
Jump to: