Jean Jordaan writes:
 >   <td><input type="file" 
 >              name="file"
 >              <dtml-if file> value="<dtml-var "file">" </dtml-if>
 >              ></td> 
 > Which returns::
 >   <ZPublisher.HTTPRequest.FileUpload instance at 131dc48>
This is a perfect receipt where you should look for information:


You will find there:

    File upload objects

    File upload objects are used to represent file-uploaded data.

    File upload objects can be used just like files.

    In addition, they have a 'headers' attribute that is a dictionary
    containing the file-upload headers, and a 'filename' attribute
    containing the name of the uploaded file.

Consequently, you will use

        <dtml-var "file.filename">


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

Reply via email to