> We've a problem with Java Applet calling CFFILE > action="upload" and Rename many times. The applet enables the > user to collect together a bunch of images and then calls a > CFM page for each. The CFM page uploads, then renames, and > creates thumbnails. This applet ran great on CF 4.5 Windows > 2000 Server but hangs up on CF MX7 Windows 2003 Server. It > seems the problem comes between the upload and the rename.. > I've tested using 11 images... 2 sets of (3 small followed by > 1 large) which is then followed by 3 small. If I comment out > the rename-and-create-thumbnail part, all goes well. But as > soon as I add back the rename, not all images "make it". I > put an exclusive lock around the rename hoping that would do > the job.. but it doesn't. Can't really put the lock around > the upload and rename combined .. would be tricky to estimate > the appropriate time. Anyone have any suggestions ? Had > similar experience ?
I think you'd be better off handling the renaming of files after the uploading, perhaps in a separate process. You might even handle this using something other than CF, such as a Windows Script (since you're on Windows, after all). Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264081 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

