Re: Linux [listfiles]

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69602
interpreted = N
texte = Yes I have a clue, this tormented me years ago too. The [listfiles] context returns the files to you in inode order. What's an inode? It's the physical microscopic hardware address on your hard drive. Yep, it's pretty a pretty useless way to return files, and it forces you to temp store all the file names in a [table] and then sort them yourself. Matthew A Perosi Psi Prime, Inc. http://www.psiprime.com 323 Union Blvd. Totowa, NJ 07512 P: 973.413.8210 F: 973.413.8217 Clint Davis wrote: > The following code worked fine on my Mac server - files were listed > alphabetically. Since moving to Linux, I'm getting some odd results. The > files are NOT alphabetical at all. Any clues? > > [listfiles ../uploads] > [hideif [isfolder]=T] > [hideif [FileName]=index.tpl] > [hideif [FileName]=ErrorLog.txt] > [hideif [FileName]~.] > [filename] > [/hideif] > [/hideif] > [/hideif] > [/hideif] > [/listfiles] > > > On Linux, I get this: > > PRO PAC Cat Line Left.jpg > Cat Eyes_Kitten.jpg > SPORTMIX English.zip > Bigger Is Still Better Face Cutout Poster.zip > PP Kitten 2,5 kg.jpg > PP Lamb Rice Newsletter ad.pdf.zip > PRO PAC Print Ad 2.pdf > Pro Pac logo white.jpg > PRO PAC Print Ad 2 no text.pdf > The Superpremium white.jpg > PRO PAC Dog 04.pdf > PP Senior 15 kg.jpg > CalciumPhos.English.pdf > The Superpremium black.jpg > Retail Manual 2007 no text.pdf > PRO PAC Dog Spanish.zip > > > > ------------------------------------------------------------- > 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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Linux [listfiles] ( Clint Davis 2007)
  2. Re: Linux [listfiles] ( Matthew A Perosi 2007)
  3. Linux [listfiles] ( Clint Davis 2007)
Yes I have a clue, this tormented me years ago too. The [listfiles] context returns the files to you in inode order. What's an inode? It's the physical microscopic hardware address on your hard drive. Yep, it's pretty a pretty useless way to return files, and it forces you to temp store all the file names in a [table] and then sort them yourself. Matthew A Perosi Psi Prime, Inc. http://www.psiprime.com 323 Union Blvd. Totowa, NJ 07512 P: 973.413.8210 F: 973.413.8217 Clint Davis wrote: > The following code worked fine on my Mac server - files were listed > alphabetically. Since moving to Linux, I'm getting some odd results. The > files are NOT alphabetical at all. Any clues? > > [listfiles ../uploads] > [hideif [isfolder]=T] > [hideif [FileName]=index.tpl] > [hideif [FileName]=ErrorLog.txt] > [hideif [FileName]~.] > [filename] > [/hideif] > [/hideif] > [/hideif] > [/hideif] > [/listfiles] > > > On Linux, I get this: > > PRO PAC Cat Line Left.jpg > Cat Eyes_Kitten.jpg > SPORTMIX English.zip > Bigger Is Still Better Face Cutout Poster.zip > PP Kitten 2,5 kg.jpg > PP Lamb Rice Newsletter ad.pdf.zip > PRO PAC Print Ad 2.pdf > Pro Pac logo white.jpg > PRO PAC Print Ad 2 no text.pdf > The Superpremium white.jpg > PRO PAC Dog 04.pdf > PP Senior 15 kg.jpg > CalciumPhos.English.pdf > The Superpremium black.jpg > Retail Manual 2007 no text.pdf > PRO PAC Dog Spanish.zip > > > > ------------------------------------------------------------- > 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://webdna.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://webdna.smithmicro.com/ Matthew A Perosi

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:

Unauthorized User trouble (1998) [math] storage of variables (1997) RAM variables (1997) Listpath stops WebCat (2002) Sort on time (2003) date pref (1999) Listfiles and nothing found (2001) form validator issue (2005) Variable prices and Formulas.db (1997) Help with a pull down menu (1999) Deleting Orders (1997) WebCat for mass emailings (1997) Major Security Hole IIS NT (1998) Generating and appending SKU to a db automatically (1998) Nested search index (2000) WCS Newbie question (1997) Here's how to kill a Butler Database. (1997) Error: Error: expected [/APPLICATION] ??? (1998) WebCatalog f2 Installation (1997) Authenticate (1997)