November Happy Hour will be moved to Thursday December 5th.

Capture event on file upload to prevent illegal characters

Vote:
 
We have Epi 4.31. Many of our editors (more than 100) still uploads files to the file upload directory, with file names including "illegal" characters such as spaces or å, ä, ö. Even if we instruct them to not do so. We would like to do a function that takes care of the file upload event, to check if there are illegal characters in the file names, and then display an error message. Can this be done and what is the best way? We use some event handlers in global.asax for page saving and page updating etc, but I can not find events for when a file is beeing uploaded? Regards //Mats Norgren
#12701
Jul 05, 2006 11:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.