Is there a good/safe way to use cffile to upload a file out to the 
server and rename it at the same time? Only problem is, the file type is 
usually unknown - could be a Word doc, rtf, pdf, xls ....

Folks are wanting to use some really weird file names at times and I'd 
like to rename everything to simply match a previously existing ID.

Here's a real file name someone tried to use:

2006 CBF TRIP (for Travel ins) and Marco revised as of Apr 19 _June 
30th-revised.xls

Yea, right....

Id rather force that to the record ID and date like
Rec1234-20061224.xls


Ideas?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294562
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