Re: Why did this copyfile stop working?
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55903
interpreted = N
texte = on 2/3/04 2:53 PM, Rob Marquardt at rob@toastdesign.com so noted...> Also, while [copyfile] is only working about once in every five tries,> there's a [writefile] that occurs after the checkout to create a PDF invoice> which also uses absolute paths and writes to a directory inside "/data> store" without incident.This sentence made the lightbulb go on this morning and I changed this:[copyfile from=*/Library/WebServer/Documents/data store/shoppingcarts/1234cart&to=*/Library/WebServer/Documents/data store/cartStorage/1234cart]to this:[writefile file=*/Library/WebServer/Documents/data store/cartStorage/1234cart][include file=*/Library/WebServer/Documents/data store/shoppingcarts/1234cart][/writefile]which works, and I'm guardedly optimistic will serve as a replacement.This has got to be one of the stupidest workarounds ever for what should bea simple function.[writefile] works.[copyfile] barely works.[movefile] doesn't work at all.I'd still be interested in hearing why these are so seriously borked in thissituation. Possibly because it's dealing with cart files? Would a cart filebe in a state that would interfere with it being moved? I know I've gotother sites that use [copyfile] to move static HTML templates into positionthat work reliably (at least I believe them to... maybe I need to revisitthose as well).Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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:
on 2/3/04 2:53 PM, Rob Marquardt at rob@toastdesign.com so noted...> Also, while [copyfile] is only working about once in every five tries,> there's a [writefile] that occurs after the checkout to create a PDF invoice> which also uses absolute paths and writes to a directory inside "/data> store" without incident.This sentence made the lightbulb go on this morning and I changed this:[copyfile from=*/Library/WebServer/Documents/data store/shoppingcarts/1234cart&to=*/Library/WebServer/Documents/data store/cartStorage/1234cart]to this:[writefile file=*/Library/WebServer/Documents/data store/cartStorage/1234cart][include file=*/Library/WebServer/Documents/data store/shoppingcarts/1234cart][/writefile]which works, and I'm guardedly optimistic will serve as a replacement.This has got to be one of the stupidest workarounds ever for what should bea simple function.[writefile] works.[copyfile] barely works.[movefile] doesn't work at all.I'd still be interested in hearing why these are so seriously borked in thissituation. Possibly because it's dealing with cart files? Would a cart filebe in a state that would interfere with it being moved? I know I've gotother sites that use [copyfile] to move static HTML templates into positionthat work reliably (at least I believe them to... maybe I need to revisitthose as well).Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------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/
Rob Marquardt
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:
Database Program (1997)
WebCat2 Append problem (B14Macacgi) (1997)
MSSQL - ODBC - OSX (2005)
Initiating NewCart (1997)
problems with 2 tags (1997)
URGENT: WebCatalog 2.0 (1998)
Authorize.net and AIM (2003)
can WC render sites out? (1997)
WebCat2b15MacPlugin - [protect] (1997)
Search Folder? (1998)
Just Testing (1997)
[WebDNA] suffix question regarding table (2009)
WebCatalog seems to choke on large (2meg) html files. (1998)
A sendmail warning (2005)
FYI: virus alert (1996)
ReturnRaw, download link for mov (2007)
(2002)
[OT] XML data to tab delimited database (2003)
Ok here is a question? (1997)
[WebDNA] WebDNA 6.2 and Mac OS X 10.5 Client / Server ? (2009)