Forums / General / File upload file name reformat

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

File upload file name reformat

Author Message

H-Works Agency

Tuesday 28 March 2006 6:29:10 am

Hi all

Is there a way to force uploaded files to be renamed in a web compliant way ?

Web compliant = [a-zA-Z] + [0-9] + [-_]

It would use exactly the same process as ezp does for class attributes identifier name when you don't enter one.

In fact when you edit a class attribute and if you enter a Name like "My Field is Here !" then Ezp will automatically create an identifier name "my_field_is_here".

So i the behavior exist for upload ? Cause i have to repeat my clients one time a day to name their file correctly and its being very boring...i am even gonna kill one someday.

Thanx for any help.
Martin

EZP is Great