[CreateDate], [ListFiles] context tag broken on Linux?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28740
interpreted = N
texte = Morning :-)I have a folder full of cart files (in ShoppingCarts/) which were created on variousdays 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 werecreated *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 onLinux 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
Associated Messages, from the most recent to the oldest:
Morning :-)I have a folder full of cart files (in ShoppingCarts/) which were created on variousdays 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 werecreated *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 onLinux 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
John Butler
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:
NT vs Mac (1997)
File Upload (2000)
[WebDNA] timestamp conversion (2011)
tcp connect includes (1999)
Complex search (2002)
Signal Raised (1997)
breaking words (1997)
acrobat -> wc (1998)
emailer on Windows Beta 18 (1997)
Unexpected error (1997)
Encrypting userid for email (2000)
webCatalog and Stocks (1998)
Opinion: [input] should be called [output] ... (1997)
Webcat 3.0.5b9, b8 trigger failures ON WEBSTAR (1999)
b12 cannot limit records returned and more. (1997)
POS (2000)
Web*SSL and WebCatalog (1997)
NT Manual (1997)
Error:Too many nested [xxx] contexts (1997)
creates folders with AS (1997)