Re: hidden databases
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36214
interpreted = N
texte = >I was going over the archives and I found some one else had a similar>question, but it was for [writefile]>the solution was this code:>[writefile secure=f][/writefile]When webcat appends to a db, or closes or commits the db, it also changes the creator to WWW‡. That's what prevents webstar ftp from being able to 'see' the file, because webstar ftp is not a full-featured ftp server -- it cannot 'see' or download WWW‡ files like a normal ftp server can.But there's a webcat-based work-around:1- Create a separate upload folder for all your newly-uploaded db files.2- Create a special admin template that closes the old database file, then immediately moves the newly-uploaded file to the location of the old file, thus forcing the old file to be overwritten by the new one.This technique is guaranteed to force webcat to purge the dbName.db file from its RAM cache, so when the new database file overwrites the old one, it's the NEW file that gets loaded into webcat's RAM cache.This is necessary because if you do *not* purge webcat's RAM-cached database immediately before overwriting that file on disk, then webcat will end up overwriting the new file with the *old* RAM-cached data the next time it commits its RAM-cached data to disk -- and that's not what you want at all ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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:
>I was going over the archives and I found some one else had a similar>question, but it was for [writefile]>the solution was this code:>[writefile secure=f][/writefile]When webcat appends to a db, or closes or commits the db, it also changes the creator to WWW‡. That's what prevents webstar ftp from being able to 'see' the file, because webstar ftp is not a full-featured ftp server -- it cannot 'see' or download WWW‡ files like a normal ftp server can.But there's a webcat-based work-around:1- Create a separate upload folder for all your newly-uploaded db files.2- Create a special admin template that closes the old database file, then immediately moves the newly-uploaded file to the location of the old file, thus forcing the old file to be overwritten by the new one.This technique is guaranteed to force webcat to purge the dbName.db file from its RAM cache, so when the new database file overwrites the old one, it's the NEW file that gets loaded into webcat's RAM cache.This is necessary because if you do *not* purge webcat's RAM-cached database immediately before overwriting that file on disk, then webcat will end up overwriting the new file with the *old* RAM-cached data the next time it commits its RAM-cached data to disk -- and that's not what you want at all ...================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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/
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:
Tried installing Windows beta with no success... (2000)
Solution help needed (1998)
Graphing Modules (2004)
search across ip/domain addresses? (1998)
UPS Shipping (1999)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
Using Plug-In while running 1.6.1 (1997)
day of year (2001)
WebCatalog security on NT (2000)
WebTen? (1997)
Text data with spaces in them... (1997)
Append..... doesn't (2000)
Sticky .inc file! (2008)
Errata: WCS Newbie question (1997)
Multiple prices (1997)
WebCat preferences caching problem (2000)
BUG REPORT: numeric ge, le, gr & ls comparisons don't work ... (1999)
Search design (1997)
RE: WebCat cannot handle compatible search parameters? (1997)
weird G3 happenings (1998)