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:

How To question on setting up downloads (1997) Apple event reply error (-1) (1997) Caching pages...again (2001) Press Release hit the NewsWire!!! (1997) [WebDNA] Announcing the new features for the next WebDNA version (2015) WebCatalog Hosting (1998) Combining Searches (1998) [LOOKUP] (1997) SKU lookup (1997) Showif Context combined with Search (1997) Fun with Dates - revisited (1997) AddLineitems - 100 Item Limit? (2002) Sku numbers (1997) Duplicates (1998) 'page impression' techniques for banner ads (1999) Authenticate (1997) Search Context: How to set Max=N? (2000) Pithy questions on webcommerce & siteedit (1997) problems with WebCat-Plugin () emailer (1997)