On Tue, Mar 30, 2010 at 5:00 PM, Michael Nordman <[email protected]> wrote: > > > On Tue, Mar 30, 2010 at 4:56 PM, Darin Fisher <[email protected]> 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
