[Zope] Stupid File Upload Question
Jonothan Farr
jfarr@real.com
Fri, 15 Dec 2000 16:59:07 -0800
What sort of problems were you seeing with LocalFS? Maybe I can fix them.
Thanks,
--jfarr
----- Original Message -----
From: <jpenny@universal-fasteners.com>
To: <zope@zope.org>
Sent: Friday, December 15, 2000 4:22 PM
Subject: [Zope] Stupid File Upload Question
> This is for Jos:
>
> I ran into the same problem today. I had previously used this method,
> and it works better than LocalFS for my purposes. Anyway, be absolutly
> sure that your form says:
>
> <form method=post action=whatever method="multipart/form-data">
> ...
> </form>
>
> Then you should be able to access REQUEST.form['attachment'].filename
> and REQUEST.form['attachment'].read() (Well, I hope).
>
> If the method=post is omitted, Netscape (linux at least) will work.
> MSIE will not.
>
> Man I ain't got enough hair for these kinds of problems!
>
> Jim Penny
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>