Re: [WebDNA] [listfiles] error, but why? How to turn off

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104894
interpreted = N
texte = Govinda wrote: > If I use this: (as doc'ed) > > [listfiles path=../&name=file1&exact=f] > ... > [/listfiles] > and there is *no* file matching the 'name' criteria, then instead of > simply not iterating, the [listfiles] context spits out an error: > > > > "An unknown error occurred: > > FileNotFound > file1" I agree that result is not inline with the rest of our looping contexts. I would suggest WSC to look at changing that behavior. For now, you could do something like: [listfiles path=../] [showif [url][filename][/url]^file1] ... [/showif] [/listfiles] Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [listfiles] error, but why? How to turn off (Govinda 2010)
  2. Re: [WebDNA] [listfiles] error, but why? How to turn off (Donovan Brooke 2010)
  3. [WebDNA] [listfiles] error, but why? How to turn off (Govinda 2010)
Govinda wrote: > If I use this: (as doc'ed) > > [listfiles path=../&name=file1&exact=f] > ... > [/listfiles] > and there is *no* file matching the 'name' criteria, then instead of > simply not iterating, the [listfiles] context spits out an error: > > > > "An unknown error occurred: > > FileNotFound > file1" I agree that result is not inline with the rest of our looping contexts. I would suggest WSC to look at changing that behavior. For now, you could do something like: [listfiles path=../] [showif [url][filename][/url]^file1] ... [/showif] [/listfiles] Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Donovan Brooke

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:

Country & Ship-to address & other fields ? (1997) change the number format (1997) multiple product databases (1997) RE: Remote administration (1998) re:check boxes (1997) [WebDNA] eCommerce in 7.0 but not in 7.1? (2012) Webcat & SIMS (1998) hmmm (2006) [WebDNA] Brian Harrington (2019) japanese characters (1997) WebCat2 - [format thousands] (1997) Merging databases (1997) setting taxable to true (1997) shell question (2004) What changes does $purchase make? (1998) Multiple Newcarts (1996) Slightly [OT] Trying to get clients SQL system going (2005) Credit card arrangement (2005) PCS Frames-Default page is solution! (1997) RAM variables (1997)