[Zope] verifying a file upload

Steven Turoff steveturoff@home.com
Tue, 04 Dec 2001 21:57:54 -0600


Greetings,

I have a form which has a file upload field. If the user uploads an image, 
I want to create an image object. How can I check to see if the user 
uploaded a gif or jpg?

Thanks,

Steve