listfiles, moving files

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17220
interpreted = N
texte = I'm trying to move all the files in one folder to another folder after I process them in a batch manner. When I do the below code: [listfiles /store/pending] [movefile path=/one folder/[filename]&to=/anther folder/[filename]][filename] [/listfiles] it moves every second file to the intended folder. I presume this is because of some index mix-up that occurs from removing files from the folder.Do I have to write a temporary databse of all the files in the folder then do the [movefile] within [founditems] context? Any better ideas? Thanks Sandy Associated Messages, from the most recent to the oldest:

    
  1. Re: listfiles, moving files (Kenneth Grome 1998)
  2. Re: listfiles, moving files (Peter Ostry 1998)
  3. Re: listfiles, moving files (Sandra L. Pitner 1998)
  4. Re: listfiles, moving files (Sandra L. Pitner 1998)
  5. Re: listfiles, moving files (Dave MacLeay 1998)
  6. listfiles, moving files (Sandra L. Pitner 1998)
I'm trying to move all the files in one folder to another folder after I process them in a batch manner. When I do the below code: [listfiles /store/pending] [movefile path=/one folder/[filename]&to=/anther folder/[filename]][filename] [/listfiles] it moves every second file to the intended folder. I presume this is because of some index mix-up that occurs from removing files from the folder.Do I have to write a temporary databse of all the files in the folder then do the [movefile] within [founditems] context? Any better ideas? Thanks Sandy Sandra L. Pitner

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:

Explorer 3.0 (1997) here is one for you.... (2000) upgrading (1997) [WebDNA] [createdate] displays today's date on Ubuntu 14.04 / (2014) Problem getting shipping to calculate (2003) MacOS alias identification? (1998) WebCatalog 2.0 b 15 mac (1997) RE: Purchased cart being overwritten (1997) Re:mail list (1998) How do I make this faster???? (2000) OFF-TOPIC: Lending investors ... (2002) instant cookies? (1999) Confused about Grep Syntax (2004) LOOP and IF statements (1997) emailer (1997) Questions on Mac WC 3.0.5b13 (2000) Emailer (1997) [purgeDatabase], [replaceChars] and others ... (1997) [convertwords] to convert carriage return? (2000) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)