listfiles bug(s)

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32435
interpreted = N
texte = 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 5681This 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 5681The 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 0The 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: listfiles bug(s) (Kenneth Grome 2000)
  2. listfiles bug(s) (Dale LaFountain 2000)
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 5681This 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 5681The 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 0The 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 Dale LaFountain

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:

Register First (2000) Version f1 status (1997) big database file (2000) Help with Shipping Costs (1997) WebCatalog stalls (1998) 2.1b3 --> way slow (1997) WCS Newbie question (1997) Suffix or Line? (1999) I think WebDNA-Talk died ... :( (1997) Shownext problems (1999) WC2b15 File Corruption (1997) Search and Change (2003) SiteEdit NewFile.html ? (1997) WebCatalog template cache (1998) Fun with dates (1997) Mac 2.1b2 speed (1997) [shownext] and descending order (1997) About to give up (1998) Searching (1998) RE: what characters are replaced for tab and CR? (1998)