> I remember this plugin. I'm not sure if I'm reading the source right
> but it looks like it uses a PHP server script to force the download;
> is that right? Does it also work without the server script?

The PHP script is just a 'reflector' that spits back whatever it is
sent, but adds some HTTP headers:

Pragma: private
Cache-control: private, must-revalidate
Content-type: application/binary; charset="UTF-8"
Content-disposition: attachment; filename="targetfilename.ext"

The "Content-disposition" header is the most important.  It tells the
receiving browser to start the normal 'download-and-save' dialog, so
the user is prompted to save the file (and can change the location/
name) without triggering any local file I/O permission alerts.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to