Hi,

In MultiDict.from_fieldstorage an uploaded file is retrieved with 
field.value. So the file is read in memory and we cannot get the 
filename.

I suggest something like
if field.file:
    obj.add(field.name, field)

bye

-- 
William Dodé  -  http://flibuste.net
Informaticien indépendant


_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to