[Zope-dev] File attachment in multipart form.
Chris McDonough
chrism@digicool.com
Mon, 23 Jul 2001 19:40:33 -0400
Hi Charlene,
The form tag should look something like;
<form action="foo" enctype="multipart/form-data">
... your input tags ...
</form>
In the future, please post questions like this to the general Zope
maillist (zope@zope.org), as this maillist is for discussion of the
development of the Zope core software (as opposed to use of the same).
Thanks!
- C
"CHOY,CHARLENE (HP-Boise,ex1)" wrote:
>
> Hi,
> I have created a form which will allow user to attach a file with the
> submission. I would like to know how should I code so that the server will
> be able to read the attachment instead of just the location of the file.
> The following is the code that I use to generate my file attachment.
>
> <input type="file" name="attached_file">
>
> I am pretty new to Zope, any help will be very much appreciated ;)
>
> -Charlene
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )