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:

Sticky .inc file! (2008) Help with Shipping Costs (1997) RE: Automatic Forwarding using WebCat (1997) Word search (1997) Help Wanted - Stowe, Vermont (1999) Weird error/limit - something amiss? (1997) Cart doesn't interpret tag! (1997) Multiple database search (2000) Fw: Webcat followup question (1999) RE: Answer: WebDelivery downloads alias, not original ? (1997) show all problem (1997) Issue with plug-in Webcat, webstar 4.x, SSL and IE when using the backbuttom (2000) Please post more "exceptions to the rules" ... (2005) [searchString] (1997) [WebDNA] WebDNA Roll Call (2013) Keep away (1997) Mac v. NT (1998) Re:2nd WebCatalog2 Feature Request (1996) There's a bug in the math context ... (1997) Mac: LModelDirector bug fix (1997)