If you want to do it all from withing GWT there's a harder way, which is
considerably more evil: create a link to a URL in the data: scheme.
http://en.wikipedia.org/wiki/Data:_URI_scheme
For example, the URL data:text/plain,Fnord! will produce a link to a
text file containing the contents "Fnord!". You can do any MIME type
this way, and you can provide binary data base64 encoded.
Of course, this does mean that you have to fit your entire data into a
URL, and IE6 is limited to about 2kB for URL sizes, so it may not be
suitable for your purposes.
--
David Given
d...@cowlark.com