11 Feb
2002
11 Feb
'02
9:36 p.m.
Tim Hicks writes:
Is there an easy way to create a fileupload instance from a string? I am trying to batch convert a load of ExtImage files to give them all different sized preview images, but manage_addExtImage() doesn't accept a string. I am a bit lazy - otherwise, I could look it up for you ;-)
"FileUpload" objects are defined in "ZPublisher.HTTPRequest". The constructor wants a "cgi.FieldStorage" as an argument. Look there, how to get a "FieldStorage" from a string... Dieter