How to limit the uploading file size in python?
Fuzzyman
fuzzyman at gmail.com
Thu Jul 21 03:37:21 EDT 2005
Hello Prabahar,
It entirely depends on the mechanism you are using to receive the file
(there is no generic solution).
Is it within a CGI ? The normal way would be to check the file sized
and discard if it's too big. You'll have to do it within your code -
but it's probably a one line check !
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
More information about the Python-list
mailing list