revCopyFile chokes on 1,500 file loop

Mark Talluto userev at canelasoftware.com
Fri Aug 4 16:42:46 EDT 2006


On Aug 4, 2006, at 1:57 AM, Sivakatirswami wrote:

> Goal: copy about 1,500 files from one set of directories to another  
> directory with a new name on the server, not on the client  
> machine,  which is simply initiating, controlling the process  
> remotely.


Hi Sivakatirswami,

I had this same problem with my FTP program.  Dave Cragg brought the  
OS X maximum file open limitation (and maybe Windows) to my  
attention.  Maybe something like this is affecting your solution.  If  
that is the case, I would find the number that does work for you and  
then add a little more code that will batch the files instead of  
throwing them all at the system at one time.  This is just a thought.


Mark Talluto
-- 
CANELA Software
http://www.canelasoftware.com




More information about the use-livecode mailing list