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 -- http://mail.python.org/mailman/listinfo/python-list