Out of curiosity, does this machine have a virus scanner on it that's set to scan files on every read/write? The delay of waiting for NAV to scan the file could be enough to trip up CFMX (or the underlying Java system) and make funky thing happen.
If it's on, try disabling the antivirus scanner and see if the problem does away... -Cameron On 10/2/05, Will Tomlinson <[EMAIL PROTECTED]> wrote: > This is regarding my problem with cffile action=move just working some of the > time. Barney told me somethin I suspected, which was to use a copy action, > then delete it from the old directory. > > Well I ran into an even worse issue. Got an error saying it couldn't do it > for some "unknown reason". YES, there's actually a CF error that says that. > Isn't that what you love to see? Anyway, it worked a few times which makes it > even more troublesome. So I thought I'd try this just for the heckuvit. > > <cfif FileExists(fullpath)> > <cffile action="copy" source="#fullpath#" destination="#destpath#"> > <cfloop from="1" to="50000" index="i"> > </cfloop> > <cffile action="delete" file="#fullpath#"> > </cfif> > > Works everytime now! lol! I started looping to 10000 and it still errored. > 50000 seems to do the trick. > > Anybody got any better ideas? > > Will > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219837 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

