I recommend robocopy. It's part of the windows toolkit or somesuch. Microsoft makes it. It's quite fast and reliable. A good step up from xcopy.
As for returning when an operation is done, I think that has to do with not specifying a timeout="" attribute on your cfexecute tag. If you don't add it, your process will run in another thread and you'll never know when it's done. -nathan strutz http://www.dopefly.com/ Ben Mueller wrote: > Our CFMX application needs to do a lot of file manipulation (moving files to > production, archive, etc). I've used the cfdirectory and cffile tags for a > while to do these operations, but as we grow, those tags just don't scale > terribly well. > > I've run a few tests where I invoked XCOPY from within a cf page, and the > file operations were just blindingly fast. However, there are two apparent > problems with XCOPY: 1) sometimes, for unexplained reasons, XCOPY doesn't > actually copy everything I ask it to; 2) I don't see an easy way to get an > "I'm done" response back from XCOPY, so I can tell my CFMX application to > continue on to the next task. > > Of course, it's possible that I'm missing some basic information that would > make either cffile faster or would make my XCOPY problems go away, but > assuming I have all my ducks in a row, I'm wondering what other solutions are > available to me? > > I am sort of loathe to install additional software on our servers, as it > makes application portability a little more tedious, but I'm not completely > against it. > > Our application runs on Windows 2000 Advanced Server. > > Any help would be greatly appreciated. > > Thanks, > Ben Mueller > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202668 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