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:

WebTen? (1997) & Aftermath (1999) Running _every_ page through WebCat ? (1997) Template Security error (1997) ShowNext Context (2005) Separate SSL Server (1997) [WebDNA] Google Cloud (2014) RE: E-mailer error codes (1997) Emailer [cart] file names (1997) Subcription Sales w/WebCatalog (1999) writing checkboxes to a database (2000) WebCat for Unix?? (1997) https validation (2001) [WebDNA] WebDNA variable from form contents (2010) Why is deleting so slow? (2002) japanese characters (1997) Somewhat OT: IE issues (2002) using showpage and showcart commands (1996) Attention SM: Trigger Bug? (2000) Is there a way......... (2000)