[WebDNA] listfiles bugs on linux

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102969
interpreted = N
texte = The [createtime] and [modtime] tags in [listfiles] don't work properly on Linux. Here's my code that illustrates the problem: [listfiles path=./&name=twitterStreamRawData&exact=F] [filename]
Created on [createDate] at [createTime]
Modified on [modDate] at [modTime]

[/listfiles] And here's what it produces: twitterStreamRawData-090715182657.txt Created on 07/15/2009 at 18:46:09 Modified on 07/15/2009 at 18:36:37 twitterStreamRawData-090716091135.txt Created on 07/16/2009 at 09:21:59 Modified on 07/16/2009 at 09:11:35 Obviously it is impossible to modify a file before it is created, but that's what these results are telling me! Plus there's another problem here: The filenames indicate the actual file creation dates and times, but as you can see the second filename shows a creation time of 09:11:35 which (as expected) matches the results of the [modTime] tag ... yet the first example does NOT show this same relationship. I need to know when a file was last modified so I don't process it prematurely, but these bugs are screwing me up. :( Sincerely, Ken Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] listfiles bugs on linux (Donovan Brooke 2009)
  2. Re: [WebDNA] listfiles bugs on linux (Kenneth Grome 2009)
  3. Re: [WebDNA] listfiles bugs on linux (Donovan Brooke 2009)
  4. Re: [WebDNA] listfiles bugs on linux (Donovan Brooke 2009)
  5. [WebDNA] listfiles bugs on linux (Kenneth Grome 2009)
The [createtime] and [modtime] tags in [listfiles] don't work properly on Linux. Here's my code that illustrates the problem: [listfiles path=./&name=twitterStreamRawData&exact=F] [filename]
Created on [createDate] at [createTime]
Modified on [modDate] at [modTime]

[/listfiles] And here's what it produces: twitterStreamRawData-090715182657.txt Created on 07/15/2009 at 18:46:09 Modified on 07/15/2009 at 18:36:37 twitterStreamRawData-090716091135.txt Created on 07/16/2009 at 09:21:59 Modified on 07/16/2009 at 09:11:35 Obviously it is impossible to modify a file before it is created, but that's what these results are telling me! Plus there's another problem here: The filenames indicate the actual file creation dates and times, but as you can see the second filename shows a creation time of 09:11:35 which (as expected) matches the results of the [modTime] tag ... yet the first example does NOT show this same relationship. I need to know when a file was last modified so I don't process it prematurely, but these bugs are screwing me up. :( Sincerely, Ken Grome 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:

WC 2.0 frames feature (1997) Press Release hit the NewsWire!!! (1997) RE: MacFinder -- a new WebDNA web site (1998) WebCat2 - Getting to the browser's username/password data (1997) problems with WebCat-Plugin (1997) Max Record length restated as maybe bug (1997) What do the &x=5&y=8 mean? (2002) date math [2.x] (1999) FlushDatabase Suggestion (1998) Importing (2000) emailer error -108 (1997) New public beta available (1997) Db design question (relational vs. flat?) (1998) simple answer? [hideif] (1997) Cart Question (1998) question: webmerchant connection (1997) Searchable mail archive problems (2003) Setting up shop (1997) [format 40s]text[/format] doesn't work (1997) WebCat.acgi from /cgi-bin/? (1997)