mod_python file upload
Hello. I am in the process of developing a web application for a client. The site will not be large, but important. I am new to mod_python and have figured out how to read a file that has been uploaded by http from the request object. Since the server is intended as a storage space for these files, I do not need or want to process them when uploaded. I merely want them in a file on the hard drive. I can already do this by reading the uploaded file and dumping it's contents into a predictable location, but this is inefficient. I would like to know if there is anyway to simply tell the system to make a copy (or move) the file to a more permanent location.
Does anybody know how to do this? Additionally, does anybody have any good suggestions or tutorials that you know contain good information about this type of application (or other tricks in mod_python that are not immediately obvious)?
Thanks in advance.