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 a way to stream this without reading the entire file into memory and writing it into the HttpResponse object? Or am I operating under a bad assumption? I see now that the docs show a flush() method. Could I say, read 1024 bytes at a time, write() them and flush() them without consuming large amounts of memory? Thanks, Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---