Hi All

I've been using django's newforms library to handle file uploads. To
do this safely I also use pyclamd to virus check the content of the
files (using the values['file'] dict which has been validated with
newforms). If there's a virus found I want to delete the file from the
server immediately, but I can't seem to find the temporary path of the
uploaded file. The dict only contains 'content' and 'filename'. I've
looked at request.FILES too, and that doesn't contain the path. Is
there any way I can delete the uploaded file from temporary storage
immediately?

Many thanks
Tejas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to