[Zope] Re: Upload on a local File System

Jonothan Farr jfarr@real.com
Tue, 8 Aug 2000 10:59:04 -0700


You should be able to eliminate the dtml method like so:


upload_image_form
-------------------------------------------------------------------------
<FORM ACTION="LocalFS_objekt_id/manage_upload" METHOD="POST"
ENCTYPE="multipart/form-data">
<INPUT TYPE="hidden" NAME="action" VALUE="where_you_want_to_go_after_uploading">
<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>

--jfarr