W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [FileAPI] Blob.URN?

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 30 Mar 2010 17:32:29 -0700
Message-ID: <63df84f1003301732u1dc6c815sadaf634adacb9655@mail.gmail.com>
To: Michael Nordman <michaeln@google.com>
Cc: Darin Fisher <darin@chromium.org>, Web Applications Working Group WG <public-webapps@w3.org>, Eric Uhrhane <ericu@google.com>
On Tue, Mar 30, 2010 at 5:00 PM, Michael Nordman <michaeln@google.com> wrote:
>
>
> On Tue, Mar 30, 2010 at 4:56 PM, Darin Fisher <darin@chromium.org> wrote:
>>
>> The only way to get a FileWriter at the moment is from <input
>> type="saveas">.  What is desired is a way to simulate the load of a resource
>> with Content-Disposition: attachment that would trigger the browser's
>> download manager.
>
> When it comes to questions like these (when offline, how to do something
> that happens in the online case)... i tend to say why not do it exactly the
> same way as its done in the online case... so load a resource with a
> Content-Disposition:attachment header on it :)

"online" doesn't have File objects, it has URLs, so the analogy is
pretty poor IMHO.

/ Jonas
Received on Wednesday, 31 March 2010 00:33:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:37 GMT