Manera, Villiam
vmanera at manord.com
Thu May 30 16:59:46 EST 2002
Hello, I'm trying to download a file: client side: <FORM METHOD="POST" ACTION="http://sviluppo.manord.com/cgi-mpy/prova.py/printfile " ENCTYPE="multipart/form-data" NAME="FormDati"> <center> <INPUT TYPE="file" NAME="file1"></center> <center> <INPUT TYPE="submit" NAME="invia" VALUE="Invia Dati"></center> </FORM> when I sumitted a file mod_python give me this: Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "C:\Program Files\Python22\Lib\mod_python\apache.py", line 193, in Dispatch result = object(req) File "C:\Program Files\Python22\Lib\mod_python\publisher.py", line 104, in handler val = File(field) File "C:\Program Files\Python22\Lib\mod_python\publisher.py", line 308, in __init__ for m in field.file.__methods__: File "C:\programmi\Python22\Lib\tempfile.py", line 178, in __getattr__ a = getattr(file, name) AttributeError: 'file' object has no attribute '__methods__' does anyone have any idea to solve this? Villiam
|