[Zope] How to get a name of uploaded file

peter bengtson peter@grenna.net
Wed, 31 Jan 2001 20:49:54 -0000


Or the DTML classic if you care to use that.

<dtml-var "_.getattr(file,'filename')">


> On Wed, Jan 31, 2001 at 08:26:38PM +0100, Radek Hnilica wrote:
> > Is there any way how to get a name of uploaded file.  I mean another
than let user type the name in another field.
>
> There's a nice example of code for uploading external files in
> <http://classic.zope.org/pipermail/zope/1999-July/006591.html>
>
> --
> Fred Yankowski           fred@OntoSys.com      tel: +1.630.879.1312
> Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
> OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>