Correct, but the filename attribute contains just the filename, not the path of the directory where it was uploaded from… cb On Nov 13, 2012, at 11:04 AM, Andreas Jung wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
REQUEST.yourfile.filename. The FileUpload instance has a 'filename' attributes.
- -aj
Kees de Brabander wrote:
Hiya
I have a form with a field for a FileUpload object, which works ok. However, in my application I want to capture the path of that file, because I want to open still other files that I know by name from that very same directory. Any idea how to do that? The REQUEST simple contains the FileUpload instance.
_______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
- -- ZOPYX Limited | Python | Zope | Plone | MongoDB Hundskapfklinge 33 | Consulting & Development D-72074 Tübingen | Electronic Publishing Solutions www.zopyx.com | Scalable Web Solutions - -------------------------------------------------- Produce & Publish - www.produce-and-publish.com
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJQohsbAAoJEADcfz7u4AZjiH0Lv1x/09r2C6AakDK3H49l9jh5 8XvCLHBqbwKep4Ue+f8kKj3BdyDRZsg7ZkaISajndKPO2kyo1eNtBVD7v7XIhCGS oTKCLv7BqE5M7Or9YTkhAJR9C4yE+5EWRk7bchkh3f3w4wlFgf/cXaATnD8qm6uL CjmzwA3bapX39yyufaIqrifToyzvYu/BgF1g0uEf8NkxwbXP54T0b3hWaDXQZoQ2 XdWpTKQveV4G9HH5d5koAwD8gDYLIfrTh1T32ESLtrY26qct4fYvC4UU/AgRdbV1 TWhFNDSmYVXirHsK4odxS2tjCs0yqNAkzPsDMo82d5ZtSw0k7bqspFZrAf0vcZXA 6joAfyTVX5QI/RliExze4XOF6w+n/g+InV/2ErZtcN0pwk5Y2YcZTrrG8p2v3UxD JUpDXsDHzP5A4iQ19VI2eiwdvOXpkFMKkKxcKid7hLuccIUyc2SpygsRnhPXDbpp kuo+RIrcYzDs63gJD/jlaWN/BhRROu4= =XQX4 -----END PGP SIGNATURE----- <lists.vcf>