>I have an uploaded file named:  CIY '06 001.jpg  (That's
>CIY<space>'06<space>001.jpg)
>
>I want to change the name of that file to:  CIY06001.jpg


Dunno if this is an option rick, but I usually use bobby h's trick of creating 
my own filename for the images. Then you don't need to worry about 
crappily-named images from users. 

<cfset somefilename = replace(createuuid(), "-", "", "all")>

Then cffile save the image with your newly-created filename. 

Then again, I wouldn't doubt if YOU were the one naming the images. :)

Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320520
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to