[thelist] Content-Disposition filename and delayed download
Hassan Schroeder
hassan.schroeder at gmail.com
Sat Dec 4 10:58:18 CST 2010
On Sat, Dec 4, 2010 at 6:03 AM, Bill Moseley <moseley at hank.org> wrote:
>> What's the recommended approach to the filename used in downloads?
> Well, I looked at what Google Apps does and when downloading it turns
> non-ASCII characters into an underscore. Either Google took the easy way
> out or it's perhaps not possible to send a non-ASCII filename that works for
> all browsers.
Probably more about `what's safest when the target OS is unknown`.
>> Now, say I have to dynamically generate the download and it might take
>> longer than a normal web request.
>> Can anyone point me to an example of a better approach? I've seem
>> suggestions of using iframes or polling with AJAX.
It seems to me the AJAX approach -- "asynchronous", eh? -- should
eliminate the need for polling altogether. Have you tried it? It would be
interesting to know if an event is generated from the file download. :-)
FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com
twitter: @hassan
More information about the thelist
mailing list