Hey Stephan,

at the moment TW is incapable of handling binary files (i.e. zip files). Unless you want to make big changes to various parts of the core, I suggest you do the following:

1. Convert your .zip into a base64 string
2. Place it inside a plain text tiddler (for reference)
3. Place a specially crafted link pointing to the url: "data:application/zip;base64,<BASE64CODE>"

That should initiate a file dowload onClick is is currently the easiest way of doing it. Of course you can imagine writing a widget that reads the tiddler and crafts such a link, clicks it and removes the link (that is how the download saver does it), but you can manually craft the link as well.

/Andreas

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to