On Thu, Sep 22, 2011 at 3:51 PM, John de la Garza <[email protected]> wrote: > I have done some reading about http downloads. One way is to set a > header like Content-Disposition. > > I would like my download to not be under the websever's root for > security reasons. I'd have an rpc call that authenticates the user > then returns the data to my qooxdoo app. I tried a window.open using > the data uri scheme..
If anyone is interested, I have moved away from a rpc call to return an array for a data://uri due to the length limitations I just have a stand alone cgi program that authenticates then returns the file with these headers: Content-Type:application/x-download\nContent-Disposition:attachment I call a window.open() in my client and it pops open a box to download or open and I also set thename in the header so it all looks good. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
