This is a known problem with LocalFS. The only workaround I know of is to put
your dtml code into a file, give it a .dtml extension, and place it in the
directory you want to upload to. This problem will be addressed in the next
version of LocalFS.


"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998

----- Original Message -----
From: jensebaer <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 5:23 PM
Subject: [Zope] Problem with LocalFS


I want to upload files to LocalFS.
I created a LocalFS with the id: images

I donīt want to use the existing addImageForm to create a new Image in the

I want to use two DTML Methods

  <form action="savefile" methode="POST" ENCTYPE="multipart/form-data">
  File<input type="file" name="file" size="25" value=""><br>
  <input type="submit" value="UPLOAD"

and send the data to:

<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 ????


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to