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:

value=[variable] (2001) [WebDNA] Cookie Enabled/Disabled (2013) A multi-processor savvy WebCatalog? (1997) Denying access by IP address (2000) WebCat2b15MacPlugin - showing [math] (1997) Calculating multiple shipping... (1997) Snake Bites (1997) [WebDNA] Valid input from a post search form (2013) [WebDNA] problems with [protect] on new OSX lion install (2012) WebCommerce: Folder organization ? (1997) default value from Lookup (was Grant, please help me) (1997) RE: [input] questions (1997) ShowNext (1997) RAM variables (1997) Fwd: Problems with Webcatalog Plug-in (1997) webcat- multiple selection in input field (1997) RE:It just Does't add up!!! (1997) Display [price] in banner ad (1998) Calendar using WebCatalog? (1997) gateway application timeouts (1998)