[Zope] Problem with LocalFS
jensebaer
jensebaer@hotmail.com
Fri, 23 Jun 2000 02:23:17 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01BFDCB9.FDFF7120
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I want to upload files to LocalFS.=20
I created a LocalFS with the id: images
I don=B4t want to use the existing addImageForm to create a new Image in =
the LocalFS.
I want to use two DTML Methods
uploadform
________________________________________________________________________
<form action=3D"savefile" methode=3D"POST" =
ENCTYPE=3D"multipart/form-data">
File<input type=3D"file" name=3D"file" size=3D"25" value=3D""><br>
<input type=3D"submit" value=3D"UPLOAD"
________________________________________________________________________
and send the data to:
savefile
________________________________________________________________________
<dtml-call "images.manage_addImages('newfile',file,'titleof tempfile')">
________________________________________________________________________
but this do not create a new image in the LocalFS.
It creates an image in the Folder in which the the LocalFS exists.
I do not understand why ????
Jens
------=_NextPart_000_000D_01BFDCB9.FDFF7120
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I want to upload files to LocalFS. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I created a LocalFS with the id:=20
images</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I don=B4t want to use the existing =
addImageForm to=20
create a new Image in the LocalFS.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I want to use two DTML =
Methods</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>uploadform</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>________________________________________________________________=
________</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2> <form action=3D"savefile" =
methode=3D"POST"=20
ENCTYPE=3D"multipart/form-data"><BR> File<input =
type=3D"file"=20
name=3D"file" size=3D"25" value=3D""><br><BR> <input =
type=3D"submit"=20
value=3D"UPLOAD"</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>________________________________________________________________=
________</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>and send the data to:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>savefile</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>________________________________________________________________=
________</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><dtml-call=20
"images.manage_addImages('newfile',file,'titleof =
tempfile')"></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>________________________________________________________________=
________</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>but this do not create a new image in =
the=20
LocalFS.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>It creates an image in the Folder in =
which the the=20
LocalFS exists.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I do not understand why =
????</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Jens</FONT></DIV></BODY></HTML>
------=_NextPart_000_000D_01BFDCB9.FDFF7120--