Re: Replacing the db file

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35579
interpreted = N
texte = 1: they upload the new DB...2: then they either have to execute a script or you have to setup a trigger the checks for a new uploaded file... - In this script do the following: 3: Commit the running DB 4: Close the running DB 5: Do a [copyfile] from the uploaded DB overwriting the running one..That's it...I have done this on 2 sites and it is working like a charm ---------------------- Jimmi Kristensen WebDNA Developer Jimmi@Euroteam.com +45 70206300 DK Euroteam Intl. http://Euroteam.com ---------------------- > I have a customer who wants to upload a revised copy of the database > file for their site each evening. I have seen something about having > them ftp the file to one area and then having a script do the rest of > the work but now I need more details on how this could or should be > done. What are the steps for replacing a .db file in this manor? (the > more detail the better) > > Thanks, > Alan Jackson > ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Replacing the db file (John Butler 2000)
  2. Re: Replacing the db file (John Peacock 2000)
  3. Re: Replacing the db file (Jimmi Kristensen 2000)
  4. Replacing the db file (Alan 2000)
1: they upload the new DB...2: then they either have to execute a script or you have to setup a trigger the checks for a new uploaded file... - In this script do the following: 3: Commit the running DB 4: Close the running DB 5: Do a [copyfile] from the uploaded DB overwriting the running one..That's it...I have done this on 2 sites and it is working like a charm ---------------------- Jimmi Kristensen WebDNA Developer Jimmi@Euroteam.com +45 70206300 DK Euroteam Intl. http://Euroteam.com ---------------------- > I have a customer who wants to upload a revised copy of the database > file for their site each evening. I have seen something about having > them ftp the file to one area and then having a script do the rest of > the work but now I need more details on how this could or should be > done. What are the steps for replacing a .db file in this manor? (the > more detail the better) > > Thanks, > Alan Jackson > ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Jimmi Kristensen

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:

Banners (1997) Trouble with formula.db + more explanation (1997) Help! WebCat2 bug (Ben's input) (1997) WebCat2 as a chat server? (1997) return missing item (was:WebCat Sales) (1997) Updating checkboxes made easy !!! (1998) Still More on EudoraPro Email (1998) WebCat2 several catalogs? (1997) Archive (Zip, Sit, Tgz) (2004) WebCatalog Technical Reference (1997) Webstar 1.3.1 PPC (1997) Test (2007) How is it done? (1998) Weird problems with [SHOWIF]s (1997) Random search is not random (2002) [WriteFile] problems (1997) Tech question about web dna actions (1998) RE: How to verify email address (1997) WebCat2b15MacPlugin - [protect] (1997) Getting Total Quantity (1997)