Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Content - Dispositon.  RSS feed

Sujatha Kumar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

In one of my applications, when the user clicks submit button i should generate a text file and prompt the user to open the file.

The application prompts the file, but when i use the open the option
it opens an empty text file whereas if i use save option it saves the
file with all the contents.

Following is the code

By the way i am using XP Service Pack 1.

Any thoughts on this issue.... is higly appreciated.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!