Re: tcpconnect/tcpsend frustrations

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41469
interpreted = N
texte = I appreciate your help on this. It still would not work for me. If it worked for you then there is something else going on beyond the code. I just don't know what it could be. -----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Friday, July 12, 2002 10:52 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations This worked for me, try it:[text]crlf=[unurl]%0D%0A[/unurl][/text] [tcpconnect host=65.214.35.21&port=80] [tcpsend][!] [/!]POST /htm/benjerryform.html HTTP/1.1[crlf][!] [/!]Referer: http:/[thisURL][crlf][!] [/!]Host: 65.214.35.21[crlf][!] [/!]Content-type: text/html[crlf][!] [/!][crlf][!] [/!][/tcpsend] [/tcpconnect]-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Friday, July 12, 2002 6:12 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations I've tried this...
[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.1[/tcpsend][/tcpconnect]
and this...[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.0[UnURL]%0D%0A[/UnURL]HOST: www.benjerry.com[UnURL]%0D%0A[/UnURL]REFERER: www.benjerry.com/dev/tcp26.tpl[UnURL]%0D%0A[/UnURL]USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]and about 100 other permutations, with different line break types and different attributes passed, but it's always just times out.-----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Thursday, July 11, 2002 1:06 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Post your code as you have it and we'll take a look at it.-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Thursday, July 11, 2002 9:56 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Yes, I've tried that. I've tried using GET to access a simple test page, but it just times out. The page I am trying to POST to reponds fine to an HTML for doing the post, but not to the [tcpsend] POST.-----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Thursday, July 11, 2002 12:48 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Have you tried hitting this page with your browser just to make sure that it does work?-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Thursday, July 11, 2002 9:34 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations So, would you say the syntax I'm using isn't the issue, since I can connect to two other servers without a problem? Any idea on what on the other server could cause the problem? I can't even get a response back to a simple GET request of a plain HTML page on this server.-----Original Message----- From: John Peacock [mailto:jpeacock@rowman.com] Sent: Thursday, July 11, 2002 12:15 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Jesse Williams-Proudman wrote: > Do I get free ice cream if I solve it? ;)Me too!> > I've always used [UnURL]%0D%0A[/UnURL]. I'm pretty sure it's not a platform > dependant thing but rather just the standard type of linefeeds that a > webserver expects. I've posted tcpconnect code before... Let me dig it up:The applicable RFC's specify that the HTTP header must contain CR/LF pairs as an end of line delimiter, regardless of the local O/S EOL. And the HTTP headermust be finished with two CR/LF pairs. Once in the body of the HTTP transfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCat under NT does sometimes), which is just pure evil. ;~)John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  2. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  3. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  4. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  5. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  6. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  7. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  8. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  9. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  10. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  11. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  12. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  13. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  14. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  15. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  16. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  17. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  18. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  19. tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
I appreciate your help on this. It still would not work for me. If it worked for you then there is something else going on beyond the code. I just don't know what it could be. -----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Friday, July 12, 2002 10:52 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations This worked for me, try it:[text]crlf=[unurl]%0D%0A[/unurl][/text] [tcpconnect host=65.214.35.21&port=80] [tcpsend][!] [/!]POST /htm/benjerryform.html HTTP/1.1[crlf][!] [/!]Referer: http:/[thisurl][crlf][!] [/!]Host: 65.214.35.21[crlf][!] [/!]Content-type: text/html[crlf][!] [/!][crlf][!] [/!][/tcpsend] [/tcpconnect]-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Friday, July 12, 2002 6:12 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations I've tried this...
[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.1[/tcpsend][/tcpconnect]
and this...[tcpconnect HOST=65.214.35.21][tcpsend]GET /htm/benjerryform.html HTTP/1.0[unurl]%0D%0A[/UnURL]HOST: www.benjerry.com[unurl]%0D%0A[/UnURL]REFERER: www.benjerry.com/dev/tcp26.tpl[unurl]%0D%0A[/UnURL]USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend][/tcpconnect]and about 100 other permutations, with different line break types and different attributes passed, but it's always just times out.-----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Thursday, July 11, 2002 1:06 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Post your code as you have it and we'll take a look at it.-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Thursday, July 11, 2002 9:56 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Yes, I've tried that. I've tried using GET to access a simple test page, but it just times out. The page I am trying to POST to reponds fine to an HTML for doing the post, but not to the [tcpsend] POST.-----Original Message----- From: Pedro Rivera [mailto:pedror@pssl.com] Sent: Thursday, July 11, 2002 12:48 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Have you tried hitting this page with your browser just to make sure that it does work?-----Original Message----- From: ScottR@benjerry.com [mailto:ScottR@benjerry.com] Sent: Thursday, July 11, 2002 9:34 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations So, would you say the syntax I'm using isn't the issue, since I can connect to two other servers without a problem? Any idea on what on the other server could cause the problem? I can't even get a response back to a simple GET request of a plain HTML page on this server.-----Original Message----- From: John Peacock [mailto:jpeacock@rowman.com] Sent: Thursday, July 11, 2002 12:15 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: tcpconnect/tcpsend frustrations Jesse Williams-Proudman wrote: > Do I get free ice cream if I solve it? ;)Me too!> > I've always used [unurl]%0D%0A[/UnURL]. I'm pretty sure it's not a platform > dependant thing but rather just the standard type of linefeeds that a > webserver expects. I've posted tcpconnect code before... Let me dig it up:The applicable RFC's specify that the HTTP header must contain CR/LF pairs as an end of line delimiter, regardless of the local O/S EOL. And the HTTP headermust be finished with two CR/LF pairs. Once in the body of the HTTP transfer (the HTML part), all bets are off; you can even have CR/CR/LF (as WebCat under NT does sometimes), which is just pure evil. ;~)John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/------------------------------------------------------------- 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://search.smithmicro.com/ ScottR@benjerry.com

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:

why is this line in GeneralStore? (1998) Searching multiple fields (1997) protect tag on NT IIS (1997) writing db to disk (1997) sendmail what is SIMS? (1999) Sorting by date (1997) Sort Order on a page search (1997) Adding headers to email (1997) More than one db with the same namn (was: WC2f3) (1997) Navigator 4.01 (1997) Before I Can Begin . . . (1998) Pass a form (2003) WebDNA Examples (Was Suggestions) (1998) Configuring E-mail (1997) [OT] SQL and Crackers (2000) Protect (1997) 2.0.1 new commands and contexts (1997) flushdatabases (2000) WebCat b15 Mac plug-in (1997) 2.0Beta Command Ref (can't find this instruction) (1997)