Buggy Code

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21930
interpreted = N
texte = Hi Folks I am using this code, hit by a URL. The folder 'Incoming' contains Order Files.[ListFiles ../incoming/] [hideif [fileinfo ../downloads/[FileName]][exists][/fileinfo]=T] [createfolder ../downloads/[FileName]] [/hideif] [movefile from=../incoming/[filename]&to=../done/[filename]] [/ListFiles]When I try it with 66 order files in 'incoming' & 0 files in 'downloads', It works on 33 files. Next time it moves 16, next time=8, next=4 and so on down to 0. Is there a better way to do this? Why would it not do all 66 at once.Regards, **************************************************************** Micheal O Se www.elive.ie Internet Hosting Service micheal@elive.ie Database powered websites Sean an x-mass card from http://www.elive.ie/ecard/postcard.tpl **************************************************************** Associated Messages, from the most recent to the oldest:

    
  1. Re: Buggy Code (PCS Technical Support 1998)
  2. Buggy Code (Mícheál O Sé 1998)
Hi Folks I am using this code, hit by a URL. The folder 'Incoming' contains order files.[ListFiles ../incoming/] [hideif [fileinfo ../downloads/[FileName]][exists][/fileinfo]=T] [createfolder ../downloads/[FileName]] [/hideif] [movefile from=../incoming/[filename]&to=../done/[filename]] [/ListFiles]When I try it with 66 order files in 'incoming' & 0 files in 'downloads', It works on 33 files. Next time it moves 16, next time=8, next=4 and so on down to 0. Is there a better way to do this? Why would it not do all 66 at once.Regards, **************************************************************** Micheal O Se www.elive.ie Internet Hosting Service micheal@elive.ie Database powered websites Sean an x-mass card from http://www.elive.ie/ecard/postcard.tpl **************************************************************** Mícheál O Sé

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WCS Newbie question (1997) OT: javascript help (2003) Multiple Pulldowns (1997) Searching multiple Databases (1997) RE: Formulas.db + Users.db (1997) Time for a hard questions. (1997) HELP WITH DATES (1997) [WebDNA] How to valuate a domain name? (2010) Webcatalog/Butler (1998) Max Record length (1997) too many nested ... problem (1997) problems with 2 tags (1997) WC2.0 Memory Requirements (1997) [BULK] [WebDNA] [if] or [case] or something else (2012) More Shopping Cart Questions/Problems (2000) Fufillment e-mail? (1998) suggestion (1997) WebCat2: Items xx to xx shown, etc. (1997) off topic - dna snipets (1997) Doesn't change (WebCat 4.0) (2000)