Wow, I was wondering how many more people could tell you why the code 
didn't work.

It's like that scene in 'Office Space' where 8 different people tell 
Peter that the TPS report had the wrong cover page.


Rick Faircloth wrote:
> Thanks for the reply, Francois...
>
> I finally figured that out, too.
>
> Here's what worked:
>
> <cffile     action       =  "rename"
>             source       =
> "d:\inetpub\current_projects\holtzmanRentals\rentalPhotos200\#imagesW200.nam
> e#"
>             destination  =
> "d:\inetpub\current_projects\holtzmanRentals\rentalPhotos200Renamed\#Replace
> (imagesW200.name, 'w500', '', 'all')#"
>             nameConflict =  "overwrite"  >
>
> Rick
>
> -----Original Message-----
> From: Francois Levesque [mailto:[email protected]] 
> Sent: Tuesday, October 20, 2009 2:06 PM
> To: cf-talk
> Subject: Re: Ok...I give...what's wrong with this code?
>
>
> You're using imagesW200 in your cffile replace. This is a query object
> (which you're looping against). You would need to use it's columns to get
> the correct value.
> Francois Levesque
> http://blog.critical-web.com/
>
>
> On Tue, Oct 20, 2009 at 2:02 PM, Rick Faircloth
> <[email protected]>wrote:
>   



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327405
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