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:

Bug? (1997) database freeze (1997) first time using webcats sendmail option (2001) Numbers and Numbers and Me (1999) [LOOKUP] (1997) WebCatalog2 Feature Feedback (1996) the dreaded unitShipCost (2003) Handy Browser Counter Tip (1997) Country & Ship-to address & other fields ? (1997) SKU's (2000) More questions about serial number dishing (1997) Setting up shop (1997) multiple selected Checkboxes (1998) Multi Actions (1999) Need Advice for Setting up a Database (1999) Searching multiple fields (1997) ListFiles Bug (1998) Nitro plugin? (1998) I give up!! (1997) Site Check (2006)