I think you didnt got it. I have to move 5000 at a time, not all of them at
once.  That's why i'm having dificulty. I think i will look for some exe to
help me on this. 
 
Thanks.
 
>>
>>Write a CMD file that uses Copy *.* and use CFEXECUTE 
>>
>>Rick 

-----Original Message----- 
From: Leonardo Crespo [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 04, 2003 12:17 PM 
To: CF-Talk 
Subject: i need a help on this 

Can anyone give me a hand on this? 

I got a directory that has about 120k - 180k files on it, constantly. They 
re e-mails that need to be moved to the smpt pickup directory. I need to 
make a schedule to pickup about 5.000 files every X minutes and move them 
the apropriate directory. 

I'm currently doing: 
<cfdirectory - get a list of the files (it takes forever to complete) 
<cfoutput maxrows 5000 
<cffile move to correct dir> 
</cfoutpu> 

The problem is that CF (MX, updater 3) takes a long time (ultra long) to do 
a <cfdirectory> and CPU load is 100% during this time. Can you think a way 
to move those files witout having to use <cfdirectory>? 

Thank you and nice weekend :) 



BP 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to