• Post Reply Bookmark Topic Watch Topic
  • New Topic

Save as file in html/xml

 
sridhar lakka
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks in advance.
I need to save a file in clients machine.For this how we can call a saveas popup, there is one command which is saving that in html and in title is showing HTML Document .
Regards,
Sree
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lookup the Content-Disposition header.
The search tool for this forum should find plenty of entries that discuss its use.

Also, this FAQ entry has some sample code that uses the Content-Disposition header.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!