Forums / General / File upload file name reformat

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