Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a lient-side download

Status
Not open for further replies.

Wereotter

Programmer
Aug 30, 2004
17
US
I have a rather unusual problem: I routinely write small programs (800 bytes) that I wish to post on another forum. This forum does not support file uploads. I would like to not have to worry about a bunch of files accumulating on a web server somewhere, so I'd like to embed the file in the page. Right now, I'm close: I embed a base-64 encoded file in the page and make a link that sends it through a server-side decoder ( I'd like, however, to do everything client-side, but have not determined how to initiate a fake file "download" with Javascript. Ideas? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top