Re: sending large downloads

2008-06-25 Thread John Hensley
If it doesn't require authorization (seems unlikely here), would a simple redirect to the tar file work? If it does, look into X-Sendfile if you're using Apache (you need mod_xsendfile) or lighty, or X-Accel-Redirect under nginx. You do only what you need to in the Django view and hand off

Re: sending large downloads

2008-06-23 Thread Michael P. Soulier
Russell Keith-Magee wrote: > Apologies for the misdirection. So perhaps a feature request is needed then? A simple way to hijack the response to have full control over said response would be sufficient. We certainly can't assume that putting all responses through the entire Django stack is always

Re: sending large downloads

2008-06-23 Thread Russell Keith-Magee
On Tue, Jun 24, 2008 at 6:46 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Russell, #2070 refers to uploads, not downloads. Bah! You are correct. That's what happens when I try to answer email before my morning coffee. :-) Apologies for the misdirection. Russ %-)

Re: sending large downloads

2008-06-23 Thread [EMAIL PROTECTED]
Russell, #2070 refers to uploads, not downloads. On Jun 23, 5:38 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 24, 2008 at 1:42 AM, msoulier <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I saw some posts on this but not many useful responses. Apologies if > > there's already

Re: sending large downloads

2008-06-23 Thread Russell Keith-Magee
On Tue, Jun 24, 2008 at 1:42 AM, msoulier <[EMAIL PROTECTED]> wrote: > > Hello, > > I saw some posts on this but not many useful responses. Apologies if > there's already a known solution. > > For a web-based backup, I need to send a large file, basically the > output of a tar process, to the

sending large downloads

2008-06-23 Thread msoulier
Hello, I saw some posts on this but not many useful responses. Apologies if there's already a known solution. For a web-based backup, I need to send a large file, basically the output of a tar process, to the browser. We have legacy Perl code doing this now but I'd like to use Django. Is there