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:
PIXO Support (1997)
New Webcatalog for Mac (1997)
Document Contains no data, or showcart error. (1997)
WebCatalog 4.0.1b1 is now available (2000)
Saving Text Areas with Orders (1997)
OT: Need some feedback, please. (2003)
CERT Advisory on malicious scripts (2000)
Browser Info.txt (1997)
showif comparison begins w/ and contains (1997)
autosensing lanague selection (1997)
Sendmail (2000)
PCS Frames (1997)
Can you set [index]=end+1 for [break]? (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
different show next (1997)
[WriteFile] problems (1997)
dos performance (1998)
Using Applescript to process WebCatalog functions (1998)
Limiting user access to .tmpl files (1997)
show all problem (1997)