Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How to save file?

Author  Topic 

Mamatha
Posting Yak Master

102 Posts

Posted - 2005-01-18 : 01:03:17
Hi
i have an ASP application,in that application i want to save one particular file for example .html file in selected location i.e where i want to save that file.For that i used some java script,it opens exaclty what i want.But it saves all the contents in that page.I don't want like that,i want to save a file.The code is:

<button onclick="javascript:document.execCommand('SaveAs','0','fileName.txt')">Click to save</Button>

How can i save file?please give me the solution.Thanks in advance



Mamatha

hgorijal
Constraint Violating Yak Guru

277 Posts

Posted - 2005-01-18 : 06:19:30
wrong forum.. post it in "ASP.NET" forum
or try here...
http://groups.ittoolbox.com/archives/archives.asp?l=ASP-L


Hemanth Gorijala
Exchange a Dollar, we still have ONE each._______Exchange an Idea, we both have TWO each.
Go to Top of Page
   

- Advertisement -