Hi,
I have a django instance running under mod-python/apache and am having trouble
with a user that has a poor-quality connection. The task is to generate a
tab-delim report (rather lengthy one) of which we've been writing-to-response:
"return HttpResponse(report_tdf, mimetype='text/tab-separated-values')"
Problem is, sometime during the 3-5 minutes it takes to generate this file,
their connection fails. I could send the report via smtp, but would rather see
if I can mark it to disk and then give them a URL to downlod via (esp. if their
connection fails).
I've tried the standard file I/O mechanisms but, not surprisingly, appear to be
running into a permissions problem. Making the directory world-writable or
adding appache to the django-user's group is not a particularly appealing idea
=8(@)
Django can upload and mark files to disk but using _that_ mechanism would
appear to be a hack. And while I might be/appear-to-be one, I would prefer to
do things as correctly as possible.
Soo, does anyone have a suggestion as to where I should head to resolve this
problem?
Thanks!
Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---