[Zope] File objects with illegal characters

Peter Bengtsson peterbe at gmail.com
Mon Aug 29 11:13:27 EDT 2005


What is the best way to deal with file uploads with illegal characters?
I have no problem stripping the filenames such that "_Peter[1].doc"
becomes "Peter1.doc" before it's manage_addFile'ed.
But suppose I want to maintain the exact filename as it was on the
harddrive, how do you deal with that?


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list