Re: ftp to webstar
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38524
interpreted = N
texte = Ken, I thought of the TCP connect command however, I'm behinda firewall. This is why I am trying to populate a forms input. If I usea forms system then I can *see* both servers (I think) as long as I am workingfrom inside my LAN. I don't think TCPconnect will be able to *see*my Dev machine unless I open up some holes.??? If I can grasp theinfo from my database into a text field in a form. I can then send thatform to my dev machine to replace that database. Or so my limitedknoweledge of forms tells me.Kenneth Grome wrote:> What's your goal here? Are you trying to replace an entire db on> server2 with the the data from a similar db on server1?>> If that's all you're trying to do, just create a template on server1> that does what I suggested below, then put another template on> server2 that does these tasks in order:>> 1- close the db you're dealing with on server2;>> 2- rename this db without the db extension -- so it cannot> accidentally be opened again by webcat, and so you still have it> available in case any problems arise;>> 3- code a writefile context that writes a new db file with the db> name you closed in step #1, then nest a middle context inside it,> then a tcpconnect inside that, then a tcpsend inside that;>> 4- make the tcpconnect get you admin template on server1.>> This technique will get the current data from the db file on server1> by including it in the template on server1, then the template on> server2 will bring that data into server2 and write it to a new db> file which will replace the one that was just clsed and renamed on> server2.>> You'll have to be careful about your webdna formatting and the middle> context, because you'll be writing a db to server2, so your code will> have to be free of any extraneous line returns in BOTH admin> templates. If you do it right, this technique will let you replace> the db on server2 with the current db on server1 in a single step.>> >hmm, I guess I could add this to John's DBedit code.... I had another> >idea on this Ken. Could I have this admin page automatically populate> >the value of a text input on a form? Then (from inside our LAN) could> >this form request a page (tpl) from my Development server and [REPLACE]> >(update) the development machine's database?> >> >> >Kenneth Grome wrote:> >> >-- Donovan D. Brooke> >Systems Administrator/> >Assc. Art Director> >Epsen Hillmer Graphics> >> >I know I'm making progress when I look at the questions I have> >asked in the past and think to myself... how stupid was that-------------------------------------------------------------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:
Ken, I thought of the TCP connect command however, I'm behinda firewall. This is why I am trying to populate a forms input. If I usea forms system then I can *see* both servers (I think) as long as I am workingfrom inside my LAN. I don't think TCPconnect will be able to *see*my Dev machine unless I open up some holes.??? If I can grasp theinfo from my database into a text field in a form. I can then send thatform to my dev machine to replace that database. Or so my limitedknoweledge of forms tells me.Kenneth Grome wrote:> What's your goal here? Are you trying to replace an entire db on> server2 with the the data from a similar db on server1?>> If that's all you're trying to do, just create a template on server1> that does what I suggested below, then put another template on> server2 that does these tasks in order:>> 1- close the db you're dealing with on server2;>> 2- rename this db without the db extension -- so it cannot> accidentally be opened again by webcat, and so you still have it> available in case any problems arise;>> 3- code a writefile context that writes a new db file with the db> name you closed in step #1, then nest a middle context inside it,> then a tcpconnect inside that, then a tcpsend inside that;>> 4- make the tcpconnect get you admin template on server1.>> This technique will get the current data from the db file on server1> by including it in the template on server1, then the template on> server2 will bring that data into server2 and write it to a new db> file which will replace the one that was just clsed and renamed on> server2.>> You'll have to be careful about your webdna formatting and the middle> context, because you'll be writing a db to server2, so your code will> have to be free of any extraneous line returns in BOTH admin> templates. If you do it right, this technique will let you replace> the db on server2 with the current db on server1 in a single step.>> >hmm, I guess I could add this to John's DBedit code.... I had another> >idea on this Ken. Could I have this admin page automatically populate> >the value of a text input on a form? Then (from inside our LAN) could> >this form request a page (tpl) from my Development server and [replace]> >(update) the development machine's database?> >> >> >Kenneth Grome wrote:> >> >-- Donovan D. Brooke> >Systems Administrator/> >Assc. Art Director> >Epsen Hillmer Graphics> >> >I know I'm making progress when I look at the questions I have> >asked in the past and think to myself... how stupid was that-------------------------------------------------------------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/
Donovan Brooke
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:
WebCat2.0 [format thousands .0f] no go (1997)
Credit Card Checking?? (1998)
[convertchars] (2000)
F3 crashing server (1997)
WebDNAMonitor (2002)
Document Contains No Data! (1997)
PCS Emailer's role ? (1997)
(2000)
Hiding Brands (2004)
Platform Switch (1997)
TeaRoom Order fields email account remain empty even though thewy are filled. (1997)
Re:Has this happened to you? (1997)
Out of the woodwork (2007)
There's a bug in the math context ... (1997)
Items XX to XX shown (1997)
More about BIAP W*API.... (1998)
Upgrading old WebCat Database Files (1997)
searching within same page (2000)
WebCat2 - [format thousands] (1997)
Quantity * price (1997)