Anyone have an elegant solution to not allowing uploaded filenames to be
more than, say 20 characters?

In other words, before or after a file is uploaded, is there an easy way to
check how long the name is, and truncate it if necessary? or to rename

I can "list" the directory, loop through the names as strings, etc....but am
wondering if there's a faster way.

TIA!
D

*************
Diana Nichols
Webmistress
http://www.lavenderthreads.com
770.434.7374

"One man's magic is another man's engineering." ---Lazarus Long


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to