Re: [WebDNA] TCPConnect assist

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112925
interpreted = N
texte = 512 Try putting a Host parameter inside the tcpsend context. It doesn't matter that host is specified in the tcpconnect tag because it is frequently required as a parameter in the tcpsend context, too. This always works for me: [text]host=www.paypal.com[/text] [text]path=/cgi-bin/webscr[/text] [text]n=[unurl]%0D%0A[/unurl][/text] [text]content=... name=value pairs go here ...[/text] [tcpconnect host=[host]&port=443&ssl=T] [tcpsend skipheader=T]POST [path] HTTP/1.0[n][!] [/!]Host: [host][n][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[n][!] [/!]Content-Type: text/namevalue[n][!] [/!]Content-Length: [countchars][content][/countchars][n][n][!] [/!][content][n][!] [/!][/tcpsend] [/tcpconnect] This has been the required syntax for years (for most servers). If it's not mentioned in the docs it should be. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  2. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  3. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  4. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  5. Re: [WebDNA] TCPConnect assist (Christer Olsson 2016)
  6. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  7. Re: [WebDNA] TCPConnect assist (Kenneth Grome 2016)
  8. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  9. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  10. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  11. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  12. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  13. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  14. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  15. [WebDNA] TCPConnect assist (Patrick McCormick 2016)
512 Try putting a Host parameter inside the tcpsend context. It doesn't matter that host is specified in the tcpconnect tag because it is frequently required as a parameter in the tcpsend context, too. This always works for me: [text]host=www.paypal.com[/text] [text]path=/cgi-bin/webscr[/text] [text]n=[unurl]%0D%0A[/unurl][/text] [text]content=... name=value pairs go here ...[/text] [tcpconnect host=[host]&port=443&ssl=T] [tcpsend skipheader=T]POST [path] HTTP/1.0[n][!] [/!]Host: [host][n][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[n][!] [/!]Content-Type: text/namevalue[n][!] [/!]Content-Length: [countchars][content][/countchars][n][n][!] [/!][content][n][!] [/!][/tcpsend] [/tcpconnect] This has been the required syntax for years (for most servers). If it's not mentioned in the docs it should be. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Kenneth Grome

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:

MOOOOOO (2000) Re:2nd WebCatalog2 Feature Request (1996) Convert characters (2002) Finding max value for a field (1997) WebCat2 beta 11 - new prefs ... (1997) Re:quit command on NT (1997) A multi-processor savvy WebCatalog? (1997) Simple Database close connection (2001) Showif? - SOLVED (2000) Re:quit command on NT (1997) Limiting user access to .tmpl files (1997) watch out for format_to_days on NT (1997) help testing quicktime delivery (1997) WebCatalog/Mac 2.1b2 New Features (1997) New Mac Emailer... (1997) Securing/hiding database file (2000) Editing Users.db (1997) [append] vs. [appendfile] delta + question? (1997) setitems, one more thing (1997) WebMerchant 1.6 and SHTML (1997)