Writefile not saving changes

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61025
interpreted = N
texte = It seems writefile is sporadically not saving changes. Sometimes it works, sometimes not. Do I need to issue a deletefile before the writefile? Is there some sort of writefile caching that causes and older version to overwrite the newer version? Here's the code in use now for recording the changes: [!]CHANGE ARTICLE[/!] [showif [submit]=Change] [replace db=article.db&eqSKUdatarq=[__SKU]][formvariables name=__&exact=F]&[getchars start=3][name][/getchars]=[url][value][/url][/ formvariables]&keywords=[formvariables name=__kwCOMMA&exact=T][url][value][/url][/formvariables][/replace] [writefile file=article/[__sku].inc][__body][/writefile] [text show=F&secure=T]__sku=[raw][__sku][/raw][/text] [/showif] ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Writefile not saving changes ( William DeVaul 2005)
It seems writefile is sporadically not saving changes. Sometimes it works, sometimes not. Do I need to issue a deletefile before the writefile? Is there some sort of writefile caching that causes and older version to overwrite the newer version? Here's the code in use now for recording the changes: [!]CHANGE ARTICLE[/!] [showif [submit]=Change] [replace db=article.db&eqSKUdatarq=[__SKU]][formvariables name=__&exact=F]&[getchars start=3][name][/getchars]=[url][value][/url][/ formvariables]&keywords=[formvariables name=__kwCOMMA&exact=T][url][value][/url][/formvariables][/replace] [writefile file=article/[__sku].inc][__body][/writefile] [text show=F&secure=T]__sku=[raw][__sku][/raw][/text] [/showif] ------------------------------------------------------------- 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://webdna.smithmicro.com/ William DeVaul

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:

default value from Lookup (was Grant, please help me) (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) rename a file (1997) Re1000001: Setting up shop (1997) Email Formatting (1998) Status of variable hierarchy changes? (2000) Associative lookup style? + bit more (1997) A Global Variable (1997) SHOWIF/HIDEIF empty fields (2005) Help Encrypt/Decrypt eMail (2003) Signal Raised Error (Part II) (1997) Migrating to NT (1997) WebCat2b15MacPlugin - [protect] (1997) Problems appending to database (1997) Summary search -- speed (1997) New Command prefs ... (1997) Was: Variables not being passed *back* (2000) [WebDNA] Cart Login (2014) [WebDNA] [BULK] Rename a file (2011) Nested Loops and SHOWIFs (1997)