Re: cfimage - upgrading to from older server

2008-08-11 Thread Mike Little
they have indeed advised that there is to be an upgrade to the hotfix. 
hopefully this sorts it out.

interestingly enough, it was the same images that would lock up (and they were 
not large either).

weird.


>advise your host to upgrade to cf8.0.1 and apply the latest hotfix that
>solves this issue.
>
>Azadi Saryev
>Sabai-dee.com
>http://www.sabai-dee.com/
>
>
>
>Mike Little wrote:
>> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310819
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfimage - upgrading to from older server

2008-08-11 Thread Azadi Saryev
advise your host to upgrade to cf8.0.1 and apply the latest hotfix that
solves this issue.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Mike Little wrote:
> hi guys,
>
> just having a few problems with a script i have used on older cf servers (6 
> and 7). i have attempted upgrading it to using the new cfimage tag. it seems 
> to break down near the end when trying to delete the existing uploaded file. 
> the file seems to be locked and access is denied.
>
> my webhost have too restart the cfapplication in order to unlock the files.
>
> has anyone had this trouble OR know of a better way i should now be handling 
> this??
>
> mike
>
>  destination="#application.settings.fileDir#project_images\" 
> nameconflict="makeunique" accept="image/jpg, image/jpeg, image/pjpeg, 
> image/gif, image/png">
>   
>
>   
>source="#application.settings.fileDir#project_images\#cffile.serverFile#" 
> structname="imageInfo" />
>   
>   
>   
>   
>   
>   
>(imageInfo.height GT 87)>
>   
>   
>   
>   
>& '.' & cffile.serverFileExt>
>   
>   
>   
>source="#application.settings.fileDir#project_images\#cffile.serverFile#" 
> action="resize" width="413" height="" 
> destination="#application.settings.fileDir#project_images\#new_image_name#" 
> quality="0.8">
>   
>   
>   
>source="#application.settings.fileDir#project_images\#cffile.serverFile#" 
> action="resize" width="115" height="" 
> destination="#application.settings.fileDir#project_images\thumb_#new_image_name#"
>  quality="0.8">
>   
>source="#application.settings.fileDir#project_images\#cffile.serverFile#" 
> destination="#application.settings.fileDir#project_images\thumb_#new_image_name#">
>   
>   
>   
>   
>fileExists("#application.settings.fileDir#project_images\#cffile.serverFile#")>
>File="#application.settings.fileDir#project_images\#cffile.serverFile#">
>   
>   
>source="#application.settings.fileDir#project_images\#cffile.serverFile#" 
> destination="#application.settings.fileDir#project_images\#new_image_name#">
>   
>   
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310662
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: cfimage - upgrading to from older server

2008-08-10 Thread Justin D. Scott
> my webhost have too restart the cfapplication in
> order to unlock the files.

I've found that some of these "file in use" situations can be averted by
renaming the file just before deleting it.  Set a variable with a UUID,
rename the file, then delete.  I've not run into this problem on CF8 and
CFIMAGE, but it's worked for me in the past when files would get locked up.


-Justin Scott


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4