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:

New NT betas available (1997) A new perspective ... (2005) Add htmlarea 3 to SiteBuilder (2004) IIS4 (1998) PCS Frames (1997) [WebDNA] Date/time server vs. browser (2015) [/application] error? (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WebCat2: Items xx to xx shown, etc. (1997) Triggers (1999) [WebDNA] Accepting an XML via HTTP (2013) New Site Announcement (1998) Still Stumped on ShowNext...HELP! (1997) RE: Automatic Forwarding using WebCat (1997) TCPConnect misbehavin' for me. (2000) Security hole in WebCat? (1999) Sku numbers (1997) two contexts into one? (1999) Help! WebCat2 bug (1997) WebMerchant 1.6 and SHTML (1997)