Hi all, been awhile since i've posted. i came across an interesting one today, i'm building a backwards compatible forum system and trying to trap image resolution sizes in avatar uploads.
Currently writing the 7 and 6.1 variants of this portion and I'm having difficulty with the ImageInfo class as recommended in Chapter 25 of the CFMX Advanced App Dev book (3rd ed). The problem is that I can get all the info i need using the java class, but when I go to perform any operations on the file after that, It wont let me. cffile move functions like a copy - doesnt remove the original from the temp folder, and cffile delete throws an error: ColdFusion could not delete the file "D:\inetpub\wwwroot\xxx\users\temp\aegishead1.jpg" for an unknown reason. the file path is correct as are the permissions on the directory. one thing i've noticed is the class does not appear to have a close() method, and the examples in the app dev book didn't show any cffile processing being done on the files after the createobject() that used the class. any ideas how i can get around this? I really need to trap those sizes as well all know how end users function =) cheers, Aegis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

