Re: [CreateDate], [ListFiles] context tag broken on Linux?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28792
interpreted = N
texte = >From: John Butler >Reply-To: (WebCatalog Talk) >To: (WebCatalog Talk) >Subject: [CreateDate], [ListFiles] context tag broken on Linux? >Date: Thu, 09 Mar 2000 10:59:21 > >Morning :-) > >I have a folder full of cart files (in ShoppingCarts/) which were created >on various >days throughout the last 2 months. >I am attempting to delete those that are older than 5 days with this- > >[ListFiles ShoppingCarts/] >[hideif 5>[Math show=T]({[date]}-{[CreateDate]})[/Math]] >[DELETEFILE file=ShoppingCarts/[filename]] >[/hideif] >[/ListFiles] > >It deletes *nothing*. > >So to debug I with this- > >[ListFiles ShoppingCarts/] >[filename], [CreateDate]
>[/ListFiles] > >...and I get a list showing all the carts in that folder, but they think >they were >created *today*, although via ftp window I can clearly see they were not. > >Am I dense? ...or not understanding the [CreateDate] file tag? ...or is >this a bug on >Linux webcat? > >-John > > >------------------------------------------------------------- >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 >______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [CreateDate], [ListFiles] context tag broken on Linux? (Isaac Vega 2000)
>From: John Butler >Reply-To: (WebCatalog Talk) >To: (WebCatalog Talk) >Subject: [CreateDate], [listfiles] context tag broken on Linux? >Date: Thu, 09 Mar 2000 10:59:21 > >Morning :-) > >I have a folder full of cart files (in ShoppingCarts/) which were created >on various >days throughout the last 2 months. >I am attempting to delete those that are older than 5 days with this- > >[ListFiles ShoppingCarts/] >[hideif 5>[Math show=T]({[date]}-{[CreateDate]})[/Math]] >[DELETEFILE file=ShoppingCarts/[filename]] >[/hideif] >[/ListFiles] > >It deletes *nothing*. > >So to debug I with this- > >[ListFiles ShoppingCarts/] >[filename], [CreateDate]
>[/ListFiles] > >...and I get a list showing all the carts in that folder, but they think >they were >created *today*, although via ftp window I can clearly see they were not. > >Am I dense? ...or not understanding the [CreateDate] file tag? ...or is >this a bug on >Linux webcat? > >-John > > >------------------------------------------------------------- >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 >______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ------------------------------------------------------------- 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 Isaac Vega

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:

using showpage and showcart commands (1996) WebMerchant bomb (1998) [searchString] (1997) Search Question (2003) foreign character sets and conversions (1998) Special characters in field names (1998) syntax question, not in online refernce (1997) [include ...] behavior (1997) [Sum] function? (1997) A question on sub-categories (1997) Setting up WebCatalog with Retail Pro data (1996) counting characters and/or words (1997) [date format] w/in sendmail (1997) Which beta for w* 4.1 and a problem w/b12 (1999) Date or time comparisons have bugs ... (1998) [sendmail] and [formvariables] (1997) b12 cannot limit records returned and more. (1997) Multiple prices (1997) [input] [/input] (1997) Logging purchases (1997)