[Zope] Re: Upload on a local File System
jensebaer
jensebaer@hotmail.com
Tue, 8 Aug 2000 18:00:22 +0200
Hi Francois,
try this:
upload_image_form
-------------------------------------------------------------------------
<FORM ACTION="upload_image" METHOD="POST" ENCTYPE="multipart/form-data">
<TABLE CELLSPACING="2">
<TR>
<TH ALIGN="LEFT" VALIGN="TOP">File</TH>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="file" NAME="file" SIZE="25" VALUE="">
</TD>
</TR>
<TR>
<TD></TD>
<TD><BR><INPUT TYPE="SUBMIT" VALUE="Upload"></TD>
</TR>
</TABLE>
</FORM>
upload_image
-------------------------------------------------------------------------
<dtml-call "REQUEST.set('file',file)">
<dtml-with "LocalFS_objekt_id">
<dtml-call "manage_upload(file, id='',action='manage_workspace')">
</dtml-with>
-------------------------------------------------------------------------
Jens
----- Original Message -----
From: Spicklemire, Jerry <Jerry.Spicklemire@IFLYATA.COM>
To: <francois.vanfleteren@c2a.fr>
Cc: <zope@zope.org>
Sent: Tuesday, August 08, 2000 5:08 PM
Subject: [Zope] Upload on a local File System
> Francois wrote:
>
> >Hi, I d like to upload on a Local File System. I would like to use a
> >form, choose a file and i d like that Zope upload the file on the
> >LocalFS. I ve met some troubles, could you help me?
>
> See Jonathan Farr's LocalFS product, which now (since v.0.8.1) allows
> file uploads to the local file system.
>
> http://www.zope.org/Members/jfarr/Products/LocalFS
>
> Later,
> Jerry S.
>
>
> _______________________________________________
> 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 )
>
>