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 xxxxxxxx Trying xxxxxxx... Connected to xxxxxxxxx Escape character is '^]'. Password: Login incorrect login: Login incorrect login: admin Password: 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:

    
  1. Re: TCPConnect to Telnet ( John Peacock 2003)
  2. Re: TCPConnect to Telnet ( Philip Edell 2003)
  3. Re: TCPConnect to Telnet ( John Peacock 2003)
  4. TCPConnect to Telnet ( Philip Edell 2003)
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 xxxxxxxx Trying xxxxxxx... Connected to xxxxxxxxx Escape character is '^]'. Password: Login incorrect login: Login incorrect login: admin Password: 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:

RE: [sendmail]- bcc? (1998) Payment Calculator (2000) [lookup] vs. [search] (1998) Getting Total Quantity (1997) Tcp Connect and IPaddress (2000) [shownext max=?] armed (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) # of real domains on 1 web server (1997) typhoon vs. webcatalog (1997) Duplicates (1998) Bug alert! (1997) Nested tags count question (1997) How flexible is Shipping? (1997) [WebDNA] eCommerce in 7.0 but not in 7.1? (2012) [TaxableTotal] - not working with AOL and IE (1997) looping table rows (1999) Constructive criticism (2000) Smith Micro - no competition (2000) WebCat2.0 acgi vs plugin (1997) Navigator 4.01 (1997)