[Zope] LocalFS guidance

Jeff Nielsen / UgoFast Jeff@UgoFast.com
Thu, 25 Jul 2002 22:27:58 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C2342A.887B54D0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Thanks Chris, you jogged my memory. Instead of calling manage_uploadForm, I
used the "form" section from manage_uploadForm and called manage_upload. I
added a form variable "action" with the page I want to return to after the
upload, and it all works right.

-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Thursday, July 25, 2002 3:03 AM
To: Jeff Nielsen
Cc: zope@zope.org
Subject: Re: [Zope] LocalFS guidance


> Jeff Nielsen / UgoFast wrote:
>
> <form action="/images/<dtml-var
> "FSSession['LoginCompanyImagesPath']">/manage_uploadForm" method="post"
> enctype="multipart/form-data">

Surely you want to be submitting to the upload method not the form?

cheers,

Chris

PS: Please don't post in HTML...

------=_NextPart_000_000C_01C2342A.887B54D0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.5762.3">
<TITLE>RE: [Zope] LocalFS guidance</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Thanks Chris, you jogged my memory. Instead of calling =
manage_uploadForm, I used the &quot;form&quot; section from =
manage_uploadForm and called manage_upload. I added a form variable =
&quot;action&quot; with the page I want to return to after the upload, =
and it all works right.</FONT></P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>

<BR><FONT SIZE=3D2>From: Chris Withers [<A =
HREF=3D"mailto:chrisw@nipltd.com">mailto:chrisw@nipltd.com</A>]</FONT>

<BR><FONT SIZE=3D2>Sent: Thursday, July 25, 2002 3:03 AM</FONT>

<BR><FONT SIZE=3D2>To: Jeff Nielsen</FONT>

<BR><FONT SIZE=3D2>Cc: zope@zope.org</FONT>

<BR><FONT SIZE=3D2>Subject: Re: [Zope] LocalFS guidance</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; Jeff Nielsen / UgoFast wrote:</FONT>

<BR><FONT SIZE=3D2>&gt; </FONT>

<BR><FONT SIZE=3D2>&gt; &lt;form =
action=3D&quot;/images/&lt;dtml-var</FONT>

<BR><FONT SIZE=3D2>&gt; =
&quot;FSSession['LoginCompanyImagesPath']&quot;&gt;/manage_uploadForm&quo=
t; method=3D&quot;post&quot;</FONT>

<BR><FONT SIZE=3D2>&gt; =
enctype=3D&quot;multipart/form-data&quot;&gt;</FONT>
</P>

<P><FONT SIZE=3D2>Surely you want to be submitting to the upload method =
not the form?</FONT>
</P>

<P><FONT SIZE=3D2>cheers,</FONT>
</P>

<P><FONT SIZE=3D2>Chris</FONT>
</P>

<P><FONT SIZE=3D2>PS: Please don't post in HTML...</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_000C_01C2342A.887B54D0--