Re: [Zope] Showing the name of a file-type form variable
28 Aug
2000
28 Aug
'00
8:49 p.m.
Hi file.filename should be what you are after. e.g. In my latest project I set a variable myFileName to be the name of the file uploaded using <dtml-var "REQUEST.set('myFileName',file.filename)"> where file is the name of my file upload control in my form. Ian Original Message --- Hi Zopers I've got this:: <td><input type="file" name="file" <dtml-if file> value="<dtml-var "file">" </dtml-if> ></td> Which returns:: <ZPublisher.HTTPRequest.FileUpload instance at 131dc48> in the input box. I'd really rather have the filename. How does one do that?
9352
Age (days ago)
9352
Last active (days ago)
0 comments
1 participants
participants (1)
-
icotteeļ¼ bluefountain.com