[Zope] Renaming File Before Download
David Siedband
david at generation-xml.com
Wed Nov 24 14:01:14 EST 2004
In one of the web apps I'm working on, users upload files into a
LocalFS directory. The python upload script renames the files so that
the files name is unique, and based on the corresponding unique ID of
it's metadata in my database. Though now when people download the
files they have names like 14201.pdf instead of the original filename.
Is there a way I can rename the file back to it's original name
(stored in the db) upon download?
--
David
More information about the Zope
mailing list