TCPConnect to Telnet
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52660
interpreted = N
texte = Hello WebDNAers,I have 2 servers in a DMZ, one running WebDNA, one not.If possible I would like to run a template on the WebDNA machine to move a file on the other machine from one directory to another.I cant make this TCPConnect / Telnet work: maybe there is a better way to do it?[text]CRLF=[UnURL]%0D%0A[/UnURL][/text][TCPConnect host=xxxxxxxx&port=23][TCPSend end=$] [CRLF] [CRLF] admin[CRLF]password[CRLF]cp TEST/ONE/1.pdf TEST/TWO/a.pdf[CRLF][/TCPSend][/TCPConnect]Is the $ right for the end parameter? If not what do I use?This is the transcript of doing the same thing from command line:[Fred:~] pse% telnet xxxxxxxxTrying xxxxxxx...Connected to xxxxxxxxxEscape character is '^]'.Password:Login incorrectlogin:Login incorrectlogin: adminPassword:Last login: Fri Sep 5 12:39:38 from**********************************************************************************************************************************[admin admin]$ cp TEST/ONE/1.pdf TEST/TWO/a.pdf-------------------------------------------------------------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:
Hello WebDNAers,I have 2 servers in a DMZ, one running WebDNA, one not.If possible I would like to run a template on the WebDNA machine to move a file on the other machine from one directory to another.I cant make this TCPConnect / Telnet work: maybe there is a better way to do it?[text]CRLF=[unurl]%0D%0A[/UnURL][/text][TCPConnect host=xxxxxxxx&port=23][TCPSend end=$] [CRLF] [CRLF] admin[CRLF]password[CRLF]cp TEST/ONE/1.pdf TEST/TWO/a.pdf[CRLF][/TCPSend][/TCPConnect]Is the $ right for the end parameter? If not what do I use?This is the transcript of doing the same thing from command line:[Fred:~] pse% telnet xxxxxxxxTrying xxxxxxx...Connected to xxxxxxxxxEscape character is '^]'.Password:Login incorrectlogin:Login incorrectlogin: adminPassword:Last login: Fri Sep 5 12:39:38 from**********************************************************************************************************************************[admin admin]$ cp TEST/ONE/1.pdf TEST/TWO/a.pdf-------------------------------------------------------------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/
Philip Edell
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:
Serving images from databases (1998)
Inconsistent Code (2006)
WebCatalog can't find database (1997)
Mac: LModelDirector bug fix (1997)
Here we go again... was: DDEConnect not working (2006)
WebCat2b15MacPlugin - [protect] (1997)
Protect (1997)
Spell Check (2003)
Summing fields (1997)
two unique banners on one page (1997)
Not really WebCat (1997)
changing creator codes (2000)
Running _every_ page through WebCat ? (1997)
PIXO support (1997)
WebCat2b13 Command Reference Doc error (1997)
t or f (1997)
Math Context (2001)
Plugin or CGI or both (1997)
[OT] Robust order processing (2003)
Ship via options price (2000)