Hello,
 
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 LocalFS.
 
I want to use two DTML Methods
 
uploadform
________________________________________________________________________
  <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:
 
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

Reply via email to