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:

Non WebDNA forms and timed popups... (2002) How to include weather (2000) [BULK] [WebDNA] sem_open solved (2012) Case statement (2003) Bug? (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) line breaks in sendmail (1998) Crash Log Question (2006) WebCat: Paying affiliates commissions?? (2000) WebCatalog can't find database (1997) [WebDNA] Upgrade 4.5.1 to 6.0a (2009) [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow speeds (2019) Looping control (1997) Emailer and encryption (1997) Cold Fusion Warm and Fuzzy? (1999) Pass a form (2003) truncating email part II (1997) For those of you not on the WebCatalog Beta... (1997) TemplateCacheSize preference (1998) [WebDNA] Dynamic vertical columns (2008)