Re: Listfiles and nothing found

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39094
interpreted = N
texte = Try taking the path= out ..> If you URL the path wont it get screwed up??? > > Is the last character of the [foldername] a /??? > > Don't you want to delimit it somehow so you can list words on the text > variable??? > > > on 5/10/01 8:47 AM, Nitai @ ComputerOil at nitai@computeroil.com wrote: > >> Excuse my ignorance today ( I have been working 40 hours straigt trough now) >> >> But is this the proper syntax, if so it does not work. >> >> [text]file_found=[listfiles >> path=../[url][foldername][/url]][filename][/listfiles][/text] >> >> >> On 4.10.2001 10:29 PM, Alain Russell >> wrote: >> >>> Write it to a text variable >>> >>> Ie: >>> [showif [text][listfiles=....][/text]=] >>> >>> Alain >>> >>>> Hi all, >>>> >>>> Within a listfiles I could not figure out how to catch it so that I can use >>>> a error message if there are no files in the folder. >>>> >>>> Tried with >>>> >>>> Showif [index]<1 >>>> >>>> And showif [filename]=] >>>> >>>> But nothing works. >>>> >>>> Anybody got this already figured out? >>>> >>>> TIA. >>>> >>>> Sincerely >>>> Nitai >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://search.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Listfiles and nothing found (Christer Olsson 2001)
  2. Re: Listfiles and nothing found (Nitai @ ComputerOil 2001)
  3. Re: Listfiles and nothing found (Nitai @ ComputerOil 2001)
  4. Re: Listfiles and nothing found (Nitai @ ComputerOil 2001)
  5. Re: Listfiles and nothing found (Andrew Simpson 2001)
  6. Re: Listfiles and nothing found (Alain Russell 2001)
  7. Re: Listfiles and nothing found (Andrew Simpson 2001)
  8. Re: Listfiles and nothing found (Nitai @ ComputerOil 2001)
  9. Re: Listfiles and nothing found (Josh Lynn 2001)
  10. Re: Listfiles and nothing found (Alain Russell 2001)
  11. Listfiles and nothing found (Nitai @ ComputerOil 2001)
Try taking the path= out ..> If you URL the path wont it get screwed up??? > > Is the last character of the [foldername] a /??? > > Don't you want to delimit it somehow so you can list words on the text > variable??? > > > on 5/10/01 8:47 AM, Nitai @ ComputerOil at nitai@computeroil.com wrote: > >> Excuse my ignorance today ( I have been working 40 hours straigt trough now) >> >> But is this the proper syntax, if so it does not work. >> >> [text]file_found=[listfiles >> path=../[url][foldername][/url]][filename][/listfiles][/text] >> >> >> On 4.10.2001 10:29 PM, Alain Russell >> wrote: >> >>> Write it to a text variable >>> >>> Ie: >>> [showif [text][listfiles=....][/text]=] >>> >>> Alain >>> >>>> Hi all, >>>> >>>> Within a listfiles I could not figure out how to catch it so that I can use >>>> a error message if there are no files in the folder. >>>> >>>> Tried with >>>> >>>> Showif [index]<1 >>>> >>>> And showif [filename]=] >>>> >>>> But nothing works. >>>> >>>> Anybody got this already figured out? >>>> >>>> TIA. >>>> >>>> Sincerely >>>> Nitai >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://search.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

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:

Word Breaks (1998) WebCat2b12plugin - [search] is broken ... not! (1997) Emailer Set Up (1997) Resume Catalog ? (1997) Stock Quotes (2000) Wait, I forgot something! (was authenticating a seconduser, the sequel) (1997) [WebDNA] Timestamp Converter (2015) Last digit of Credit Card Stripped (1997) WC2.0 Memory Requirements (1997) [WebDNA] Is [math] on a number with too many digits the only (2011) search command (1999) Webcatalog on MacOs (2000) ShowNext Command (1997) PROBLEM (1997) talking to MacAuthorize (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) WCf2 and nested tags (1997) Call for Help (2000) help needed: Non-english characters in WebCatalog (1997) More on the email templates (1997)