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:

WebDNA Commerce Single for MAC 6.0 (2008) Secure Server (1997) UPPERCASE (1997) Crazy dates (was: sorting dates) (1999) What folder??? (1999) Looking up two prices in database? (1997) Re[2]: searching within same page (2000) shrink-wrapped version out yet? (1997) auto enter dates (1998) Nested [SEARCH] and [REPLACE] problem. (1997) text variables... weigh much? (2004) Purchae error - Fixed to a degree (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Multiple prices (1997) [OT] Bad Hard Drive? (2003) Stupid question (2003) WebDNA - fun to compare (2005) Interactive Online Docs Was: [OT] Mozilla | Was: R.I.P. (2003) international time (1997) Make sure I understand this??? (1997)