I want to keep the acutally filename to db/Description. is it possiable ? (CCK filefield)


#1 transliteration-orig_name.patch716 bytessmk-ka
#1 custom.zip848 bytessmk-ka


Title:how to save the Real/acutally filename to dbHow to save the original/unaltered filename?
Component:Miscellaneous» Code
Category:support» feature
Status:Active» Fixed
new848 bytes
new716 bytes

It wasn't possible — until now. I've just committed a small patch to transliteration which stores the original/unaltered filename in $_FILES['files']['orig_name'][<field_name>]. This information can then be accessed by other modules that wish to make use of it.

For demonstration purposes I've written a small module which fulfills what you asked for: it integrates with filefield and sets the description text to the original filename for newly uploaded files.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.