Re: repost: sending a down arrow

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29550
interpreted = N
texte = can I use a whole phrase? like if the server says 'enter your password:'can i use [tcpsend end=enter your password:] ? does all the stuff after the end need to be in ascii and within [unurl] contexts? > > > >the host I want to get to is a telnet server @ 206.81.204.25 > > > >note that when you connect, nothing happens until you hit return. > > > >[TCPConnect host=206.81.204.25&port=23] > > [TCPSend][unURL]%0D%0AA[/unURL][/TCPSend] > > [/TCPConnect] > > > >doesn't work. what am I doing wrong? > > Used this way, TCPSend won't return until the other machine closes > the TCP connection. Since telnet is a kind of protocol that doesn't > normally close the connection, you need to tell TCPSend what sequence > of letters to look for to let it know it should return control to > your template. > > Look in the docs for [TCPSend] for the end parameter, and pick a > sequence of letters that it should end on. > > ------------------------------------------------------------- > 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 > > ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: repost: sending a down arrow (Aaron Lynch 2000)
  2. Re: repost: sending a down arrow (WebDNA Support 2000)
  3. Re: repost: sending a down arrow (Aaron Lynch 2000)
  4. Re: repost: sending a down arrow (WebDNA Support 2000)
  5. repost: sending a down arrow (Aaron Lynch 2000)
can I use a whole phrase? like if the server says 'enter your password:'can i use [tcpsend end=enter your password:] ? does all the stuff after the end need to be in ascii and within [unurl] contexts? > > > >the host I want to get to is a telnet server @ 206.81.204.25 > > > >note that when you connect, nothing happens until you hit return. > > > >[TCPConnect host=206.81.204.25&port=23] > > [tcpsend][unurl]%0D%0AA[/unURL][/TCPSend] > > [/TCPConnect] > > > >doesn't work. what am I doing wrong? > > Used this way, TCPSend won't return until the other machine closes > the TCP connection. Since telnet is a kind of protocol that doesn't > normally close the connection, you need to tell TCPSend what sequence > of letters to look for to let it know it should return control to > your template. > > Look in the docs for [tcpsend] for the end parameter, and pick a > sequence of letters that it should end on. > > ------------------------------------------------------------- > 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 > > ------------------------------------------------------------- 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 Aaron Lynch

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:

eCommerce Solution (2000) Error Lob.db records error message not name (1997) duplicate cart numbers (2002) sorting dates (1999) Setting a null value for reply to address using sendmail... (2001) FREE WEBCAT! (was: Tech support) (2000) For those of you not on the WebCatalog Beta... (1997) WebCat2 Append problem (B14Macacgi) (1997) RE: Purchased cart being overwritten (1997) Configuring E-mail (1997) WCS Newbie question (1997) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] Quick sort/results grouping Q (2008) Setting up shop (1997) Live Webcasts (1999) Separate SSL Server (1997) [index] (1997) WC Database Format (1997) Finding max value for a field (1997) OS-X/CGI/WebCat (2000)