Re: FlushDatabase Suggestion

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18041
interpreted = N
texte = Kenneth Grome wrote:> [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 ... :)Ken,I have two folders: new & current, each containing a respective copy of a catalog database. I want an URL which will dump the current, RAM database, load the new one from the new directory, then save it to the current directory, and make all subesequent accesses to the currect db.Will you solution achieve this - even if hits arrive during the close and copy process?-Pat Associated Messages, from the most recent to the oldest:

    
  1. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  2. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  3. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  4. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  5. Re: FlushDatabase Suggestion (bob 1998)
  6. Re: FlushDatabase Suggestion (bob 1998)
  7. Re: FlushDatabase Suggestion (bob 1998)
  8. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  9. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  10. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  11. Re: FlushDatabase Suggestion (Bob Minor 1998)
  12. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  13. Re: FlushDatabase Suggestion (Bob Minor 1998)
  14. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  15. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  16. Re: FlushDatabase Suggestion (Pat McCormick 1998)
  17. Re: FlushDatabase Suggestion (Kenneth Grome 1998)
  18. FlushDatabase Suggestion (Pat McCormick 1998)
Kenneth Grome wrote:> [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 ... :)Ken,I have two folders: new & current, each containing a respective copy of a catalog database. I want an URL which will dump the current, RAM database, load the new one from the new directory, then save it to the current directory, and make all subesequent accesses to the currect db.Will you solution achieve this - even if hits arrive during the close and copy process?-Pat Pat McCormick

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:

Part Html part WebDNA (1997) How To question on setting up downloads (1997) windows v4.5.1 (2003) SMSI: databases corrupted on crash and permission issueson OSX (2002) Running _every_ page through WebCat ? (1997) WebCat2b15MacPlugin - showing [math] (1997) send mail problem? (1997) faxing orders (2000) Bulletin Board (1998) StoreBuilder Q's (2003) rename a file (1997) Emailer Error 550 (Was Strange Crash) (1998) Working with framesets (1998) need to add a sku field to an existing db (2005) WebCat2b13MacPlugIn - More limits on [include] (1997) unable to launch acgi in WebCat (1997) Why is my easy [AddLineItems] NOT working?? (2000) WebCat2 Append problem (B14Macacgi) (1997) Moving files from one server to another... (2001) Purchase command error problem (1997)