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:

[sendmail] and [formvariables] (1997) EIMS Problems (1997) Searching help needed (1998) Shipping.db (1998) Dismissing dialogs (was 2.1b3 --> way slow) (1997) [WebDNA] Error 500 with SUMM=T (2017) default value from Lookup (was Grant, please help me) (1997) Clearly.home (1998) Separate server for jpg/gif files (1998) Explorer 3.0 (1997) Shopping with Accounts (2003) in string ??? (2001) Physical Security for WebCatalog Directories (1997) RE: Error: template (1997) Just Testing (1997) I don't think my install worked (2003) Nav. 4 probs with cart - Serious problem (1997) Search/sort in URL Was: GuestBook example (1997) Populating a db from a form textarea (2005) # of real domains on 1 web server (1997)