Re: Read and Write
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38975
interpreted = N
texte = Velma Kahn wrote:> > I have two questions, which might be the same question or closely-related,> so I'll put them both here.> > 1. I need to read some tpl files and save them (the resulting HTML) to> static HTML files. How might I do this?[writefile] is your friend here.> > 2. I need to copy a shopping cart file from the store server to a secure> server, when the user presses checkout. If I cannot do that with CopyFile,> because the locations are not on the same tree or are not locally> networked, can I do this with URLs somehow?You cannot copy a shopping cart from one server to another if they are not networked drives. You can post the shopping cart to another serverusing [tcpconnect], but you cannot use SSL. I think you need to rethink your program flow.Only client's can use URL's (for this purpose, [tcpconnect] counts asa client). Only the server has access to the shopping cart file.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
Velma Kahn wrote:> > I have two questions, which might be the same question or closely-related,> so I'll put them both here.> > 1. I need to read some tpl files and save them (the resulting HTML) to> static HTML files. How might I do this?[writefile] is your friend here.> > 2. I need to copy a shopping cart file from the store server to a secure> server, when the user presses checkout. If I cannot do that with CopyFile,> because the locations are not on the same tree or are not locally> networked, can I do this with URLs somehow?You cannot copy a shopping cart from one server to another if they are not networked drives. You can post the shopping cart to another serverusing [tcpconnect], but you cannot use SSL. I think you need to rethink your program flow.Only client's can use URL's (for this purpose, [tcpconnect] counts asa client). Only the server has access to the shopping cart file.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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/
John Peacock
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:
How To question on setting up downloads (1997)
Updating Prices in DB (working) (1999)
re: keep W* in front applescript? (try Cron) (1998)
Preventing code execution (2003)
Setting up shop (1997)
Don't do this! (2003)
Email (1998)
[WebDNA] Webcat install on Windows 2003 Server web edition - (2010)
Roundup function? (1997)
SKU lookup (1997)
writefile and texte (1997)
Forbidden CGI Error (1997)
Signal Raised Error (1997)
Auto Wrap Text in (2004)
[WebDNA] Text box delimiter (2009)
Rhapsody? (1997)
Running webcat 6 on Windows XP Prof. (2005)
append/replace and allcase=t (2000)
bug in [SendMail] (1997)
RePost: NAT and the CART (1999)