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:

Problems appending to database (1997) [OT] Classic Mac (2008) default value from Lookup (1997) Resetting a Formvariable (2000) Problems passing [SKU] with $Replace in 2.0 (1997) E-Mailer (WebCatb15acgiMac) (1997) test (2002) WebCatalog 2.0 b 15 mac (1997) File Upload (1997) Email Set-Up? (1997) Updating Prices in Online Database (1999) Setting up WebCatalog with Retail Pro data (1996) Type 11 errors setting up WebCAt 2 (1997) 4.5 on Apache 2 (2005) WebCat2b13MacPlugIn - syntax to convert date (1997) More on the email templates (1997) Error 11 (1996) Mozilla/4. and Browser Info.txt (1997) [WebDNA] WebDNA future (2010) WebCat2 beta 11 - new prefs ... (1997)