Re: FlushDatabase Suggestion
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 18025
interpreted = N
texte = >> Current commands already do this:>>>> [closedatabase path/to/some.db]>>Does it create this file if it didn't exist?In your reply you left out my second line of code, which is critical to performing the archiving task you asked for. The entire WebDNA code example you need to use in order to perform these tasks is:[closedatabase path/to/some.db][copyfile path=path/to/some.db&to=../somefolder/archive.db]And yes, the [copyfile] tag *does* create the archive file if it didn't exist -- but the [closedatabase] tag does not, and that's why these two tags must be used together in order to achieve the results you asked for ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>> Current commands already do this:>>>> [closedatabase path/to/some.db]>>Does it create this file if it didn't exist?In your reply you left out my second line of code, which is critical to performing the archiving task you asked for. The entire WebDNA code example you need to use in order to perform these tasks is:[closedatabase path/to/some.db][copyfile path=path/to/some.db&to=../somefolder/archive.db]And yes, the
[copyfile] tag *does* create the archive file if it didn't exist -- but the
[closedatabase] tag does not, and that's why these two tags must be used together in order to achieve the results you asked for ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
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:
Multiple Newcarts (1996)
cart info (1998)
Cancel Subscription (1996)
PSC recommends what date format yr 2000??? (1997)
RE: protect tag not working (1998)
Email within tmpl ? (1997)
[WebDNA] math date issues? (2013)
Safari browser and WebDNA set-cookies (2003)
attn: smitmicro - cart limitation (2002)
tab as word delimiter (2000)
taxTotal, grandTotal (1997)
A few questions. . . (1997)
Spell Check (2000)
Beta (?) version of WebCatalog 2.1 (1998)
2.0 Info (1997)
WebCatalog/WebMerchant Manuals Available (1998)
[WebDNA] also, is it right that the archives only go up to June this year? (2008)
[WebDNA] two ideas for running a cluster of WebDNA servers (2019)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Questions To Answer (1997)