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:

Sorting Orders (1997) WebCatalog for Postcards ? (1997) Is there a way to just get to the last record in the database? (1997) shipCost (1998) include bug????? (1997) Emailer help....! (1997) Re1000001: Setting up shop (1997) Text data with spaces in them... (1997) WebCatalog does not have enough memory message... HELP (2001) NetSplat and WebCat2 (1997) WebCat/CyberStudio Compatibility (1998) ERASING DATABASE (1997) Cancel Subscription (1996) [append] vs. [appendfile] delta + question? (1997) Adding To items to cart at once (1999) WebCatalog Features (1997) PCS Frames (1997) Banner Ads (2000) emailer settings and control questions (1997) World Address Info (2003)