[Zope] Getting the filename from a file upload

Jens Vagelpohl jens at zope.com
Tue Aug 19 23:48:46 EDT 2003


> This only shows the file reference.  How do I call the filename?
> I've tried a bunch of things like:
>
> <dtml-var attachment_single.filename>
>
> To no avail...  No obvious solution in the threads that I could find
> either, though lots of references to the filename property.
>

Try <dtml-var "attachment_single.filename"> (notice the quotes).

jens





More information about the Zope mailing list