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:

php vs WebCatalog (2000) Sherlock and WebCat (1998) [WebDNA] Error 500 with SUMM=T (2017) I'm new be kind (1997) RE: Re:Signal Raised (1997) [WebDNA] agree? --> also broken when we compare against something with a "!" in it. (2009) More questions about serial number dishing (1997) all records returned. (1997) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2013) Cross OS Compatible HTML emailing (2003) SiteGuard Use Question (1997) sendmail error (1997) Protect and Serve (1999) SPAM (OT) (2004) Nested tags count question (1997) Fun with dates (1997) multiple databases (1997) Dumb Question about Docs (1997) Sorry, WebDNA Server Not Running! (2005) Triggers (2000)