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:

Unable to view next 101-200 (1997) Using Applescript to process WebCatalog functions (1998) [countWords]? (1997) WebStar and CopyFile (2000) Dubble Sku's in a Database (1999) [addlineitems] (1997) ShowNext example for GeneralStore (1997) Date Formats (1997) URL'ed value not written to DB URL'ed (2003) Database wiped clean (2005) Text data with spaces in them... (1997) Where is the bug fix info for 4.0.1? (2000) WebCat2b13MacPlugIn - syntax to convert date (1997) Paths, relative paths, webstar server setup and security (Mac) (1997) Text data with spaces in them... (1997) Databases.tpl (2000) purchase.log file (1997) Running 2 two WebCatalog.acgi's (1996) ITools 8 and WebDNA6 (2005) WebCat2 - [format thousands] (1997)