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:
Search in 2 or more catalogs (1997)
More on the email templates (1997)
SMS to WebDNA (2007)
Carts in Admin folder? (1999)
[WebDNA] Emailer breaking format (2015)
can WC render sites out? (1997)
The Form authentication trick (2000)
Netscape 3.01 can't see db in form (was problems problemsproblems) (1997)
Hosting Service (1998)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Navigator 4.01 (1997)
Questions To Answer (1997)
Searching multiple Databases (1997)
Cold Fusion Buster (1997)
errors 550, and 108 (1998)
checksum for credit cards? (1997)
Sorting (2000)
problems with 2 tags (1997)
W* 4.2 / WebCat (TPro) 3.0.5b / OS 8.5.1 / BW G3 (2000)
WC Database Format (1997)