[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:
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Printing a final order (1997)
[Applescript] (2000)
WebDNA to IM connectivity? (2006)
Forms Search Questions (1997)
If Else Statement... (2004)
Will there be a PPC Linux version? (2000)
problems with WebCat-Plugin ()
Searching multiple dbs (1998)
HELP WITH DATES (1997)
WCS Newbie question (1997)
removing commas from a preformatted number (2000)
OK, here goes... (1997)
How do I pass [cart] when user clicks back (2000)
emailer (1997)
Frames and WebCat (1997)
WebTen and WebCat (1997)
WebDelivery (1998)
Using Plug-In while running 1.6.1 (1997)
Lost Field (1998)