aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes sace target as Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "sace target as" Watch "sace target as" New topic
Author

sace target as

Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Hi,
I have a link in the html page say foo.dat, if the user right click and select save target as, then the save is saved as foo.htm instead of foo.dat.
Is there is anyoption in javascript or html to force the user to save as foo.dat ??
At this moment, the user have to manually rename the file extension from .htm to .dat
Thank you.


Spritle Software Blogs
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript has no control over that
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sace target as