Re: listfiles bug(s)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32436
interpreted = N
texte = There has been a listfiles bug in the NT version of webcatalog for a year already. A fix has been promised more than once, but it never seems to get fixed no matter how many promises are made. Apparently version 4 code still has this bug in it ... :( >I'm trying to use [listfiles] for various things, and have found a >couple inconsistencies. Here is my code: > >[listfiles path=test/] > [index] [isfile] [filename] [size]
>[/listfiles] > >I created a folder called test and file1, file2, and file3 in the >test folder. When I run this code on Mac Webstar with 4.0b5, I get: > >1 T file1 3676 >2 T file2 3676 >3 T file3 5681 > >This is expected and accurate. > > >When I run the same code with the same test folder and files on NT >with 4.0b5, I get: > >2 F file1 3676 >3 F file2 3676 >4 F file3 5681 > >The index flag is off by one and isfile returns false when it should be true. > > >On MacOSXS with 4.0b4 (no time to upgrade yet), I get: > >1 T file1 0 >2 T file2 0 >3 T file3 0 > >The filesize shouldn't be zero. I created the test files by hand >here, but they are mode 777 and nonzero in size, so my report still >holds water... > >Is anyone else seeing this? > >Thanks, > >Dale >-- > >Dale LaFountain mailto:dalel@darkhorse.com >Vice President of Information Technology, Webmaster >Dark Horse Comics, Inc. Ph: 503-652-8815 x324 >http://www.darkhorse.com/ Fax: 503-652-6917 > >############################################################# >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 > >To switch to the INDEX mode, E-mail to > >Send administrative queries to ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: listfiles bug(s) (Kenneth Grome 2000)
  2. listfiles bug(s) (Dale LaFountain 2000)
There has been a listfiles bug in the NT version of webcatalog for a year already. A fix has been promised more than once, but it never seems to get fixed no matter how many promises are made. Apparently version 4 code still has this bug in it ... :( >I'm trying to use [listfiles] for various things, and have found a >couple inconsistencies. Here is my code: > >[listfiles path=test/] > [index] [isfile] [filename] [size]
>[/listfiles] > >I created a folder called test and file1, file2, and file3 in the >test folder. When I run this code on Mac Webstar with 4.0b5, I get: > >1 T file1 3676 >2 T file2 3676 >3 T file3 5681 > >This is expected and accurate. > > >When I run the same code with the same test folder and files on NT >with 4.0b5, I get: > >2 F file1 3676 >3 F file2 3676 >4 F file3 5681 > >The index flag is off by one and isfile returns false when it should be true. > > >On MacOSXS with 4.0b4 (no time to upgrade yet), I get: > >1 T file1 0 >2 T file2 0 >3 T file3 0 > >The filesize shouldn't be zero. I created the test files by hand >here, but they are mode 777 and nonzero in size, so my report still >holds water... > >Is anyone else seeing this? > >Thanks, > >Dale >-- > >Dale LaFountain mailto:dalel@darkhorse.com >Vice President of Information Technology, Webmaster >Dark Horse Comics, Inc. Ph: 503-652-8815 x324 >http://www.darkhorse.com/ Fax: 503-652-6917 > >############################################################# >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 > >To switch to the INDEX mode, E-mail to > >Send administrative queries to ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Kenneth Grome

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:

browser info.txt and SSL (1997) Word search (1997) Errata: WCS Newbie question (1997) Need relative path explanation (1997) Deadlock (1999) Javascript Fields of Strawberry Roses and Green Bananas (2000) Summing fields (1997) [Webcat 2]Next (1997) PCS Frames (1997) [WebDNA] [Delete] doesn delete all... (2009) Webcat table size. (2001) Emailer [cart] file names (1997) WebCatalog for Postcards ? (1997) [Price] (1997) Uh...can someone help me out with the b10? (1997) RE: Explorer oddities (1997) Multiple shipping databases (1997) Sort Order on a page search (1997) RE: IIS4b2 and WebCatalog b19 (1997) OT: Unix Geek Needed (2005)