Lad wrote: > In my web application I use Apache and mod_python. > I allow users to upload huge files( via HTTP FORM , using POST method) > I would like to store the file directly on a hard disk and not to > upload the WHOLE huge file into server's memory first. > Can anyone suggest a solution?
The only solution you need is Apache and mod_python :) I mean, Apache won't load a huge POST request into its memory no matter what. All file uploads will be stored in temporary files. Under mod_python (provided you use FieldStorage) you'll need to deal only with 'file' objects. -- Maxim Sloyko -- http://mail.python.org/mailman/listinfo/python-list