Re: Linux [listfiles]
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69603
interpreted = N
texte = Thanks Matthew. That did it.On 12/18/07 9:41 AM, "Matthew A Perosi"
wrote:> 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/---------------------------------------------------------------------Clint DavisWeb Services ManagerGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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:
Thanks Matthew. That did it.On 12/18/07 9:41 AM, "Matthew A Perosi" wrote:> 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/---------------------------------------------------------------------Clint DavisWeb Services ManagerGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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/
Clint Davis
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:
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Separate SSL Server (1997)
Why does this not work? (2002)
PCSDecrypt bugs still unfixed ... (2000)
Wanted: Broader string manipulation functions (1997)
Showif, Hideif reverse logic ? (1997)
WebCatalog NT beta 18 problem (1997)
Multiple security dbs (1997)
Archive (Zip, Sit, Tgz) (2004)
security (1997)
Code BabelFish (was: I've been thinking) (2002)
Cart ID Duplication (2001)
WebCat2b15MacPlugin - showing [math] (1997)
problems with 2 tags (1997)
Emailer errors (1997)
Navigator 4.01 (1997)
syntax question, not in online refernce (1997)
WebCatalog f2 Installation (1997)
Credit card types (1997)
encrypted query string trouble on OSX (2001)