Re: TCPSEND

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24289
interpreted = N
texte = On 11/12/99 12:42 am, Michael D. Kirkpatrick so noted...>I am running into a little problem with using the tcpsend command. The >contents of the variables >can be as large as 100000 characters. I am running into the problem of >it cutting off the characters >randomly from 300 - 1000 characters. Also on top of that, my server is >logging all the data that is sent via the >following method: > >[middle startafter=&endbefore=][tcpconnect >host=www.myhost.com] >[tcpsend]POST >www.myhost.com/receive/page.tmpl?sku=[url][sku][/url]&desc=[url][desc][/ur >l]&price=[url][price][/url]&category=[url][category][/url]HTTP/1.1[unurl]% >0D%0A%0D%0A[/unurl][/tcpsend][/tcpconnect][/middle]Try pulling the arguments out of the URL. I saved this sample on a Mac, so the carriage returns are part of the file. You may need to change the [LF] text variable to contain the CR and move them to the ends of the previous lines.[text]LF=[unURL]%0A[/unURL][/text] [middle startafter=&endbefore=][tcpconnect host=www.myhost.com] [tcpsend]POST /receive/page.tmpl HTTP/1.1 [LF]Referer: http:/[thisURL] [LF]Host: www.myhost.com [LF]Content-type: application/x-www-form-urlencoded [LF] [LF]sku=[url][sku][/url]&desc=[url][desc][/url]&price=[url][price][/url]&ca tegory=[url][category][/url] [LF][/tcpsend][/tcpconnect][/middle]I had also passed the Content-length: header, but I don't know if that's absolutely necessary. You can throw all the data you're passing into a text variable and do a [countChars] on that variable to get a count if needed.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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. [WebDNA] Authorize.net tcpconnect tcpsend (Brian Harrington 2019)
  2. Re: [WebDNA] Anyone submitted SoAP info in TCPSEND? (Alex McCombie 2017)
  3. Re: [WebDNA] Anyone submitted SoAP info in TCPSEND? (Donovan Brooke 2017)
  4. [WebDNA] Anyone submitted SoAP info in TCPSEND? (Alex McCombie 2017)
  5. Re: [WebDNA] POST method using TCPSend (Stuart Tremain 2013)
  6. Re: [WebDNA] POST method using TCPSend (Michael Davis 2013)
  7. Re: [WebDNA] POST method using TCPSend (Stuart Tremain 2013)
  8. [WebDNA] POST method using TCPSend (Michael Davis 2013)
  9. Re: [WebDNA] [TCPSend] Test email address??? (christophe.billiottet@webdna.us 2011)
  10. [WebDNA] [TCPSend] Test email address??? (Lawrence 2011)
  11. Re: [WebDNA] Windows 2003 SSL - TCPConnect TCPSend (Stuart Tremain 2008)
  12. [WebDNA] Windows 2003 SSL - TCPConnect TCPSend (Donovan Brooke 2008)
  13. Re: TCPSend GET vs POST ( Jim Ziegler 2007)
  14. Re: TCPSend GET vs POST ( "Dennis J. Bonsall, Jr." 2007)
  15. TCPSend GET vs POST ( Jim Ziegler 2007)
  16. tcpSend variables not seen ( Terry Wilson 2006)
  17. Re: user authentication via TCPSend ( Terry Wilson 2005)
  18. Re: user authentication via TCPSend ( John Peacock 2005)
  19. user authentication via TCPSend ( Terry Wilson 2005)
  20. Re: tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
  21. Re: tcpconnect/tcpsend problem ... ( Christer Olsson 2004)
  22. Re: tcpconnect/tcpsend problem ... ( devaulw@onebox.com 2004)
  23. Re: tcpconnect/tcpsend problem ... ( John Peacock 2004)
  24. tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
  25. Re: tcpsend formatting issue ... ( Kenneth Grome 2004)
  26. tcpsend formatting issue ... ( Kenneth Grome 2004)
  27. Re: TCPConnect & TCPSend ( Jesse Proudman 2003)
  28. Re: TCPConnect & TCPSend ( "Jesse Crofoot" 2003)
  29. Re: TCPConnect & TCPSend ( "Jesse Crofoot" 2003)
  30. Re: TCPConnect & TCPSend ( "Jesse Crofoot" 2003)
  31. Re: TCPConnect & TCPSend ( Donovan Brooke 2003)
  32. TCPConnect & TCPSend ( "Jesse Crofoot" 2003)
  33. Re: TCPSend / Netscape Server 4.1 (Scott Anderson 2003)
  34. Re: TCPSend / Netscape Server 4.1 (Philip Edell 2003)
  35. Re: TCPSend / Netscape Server 4.1 (John Peacock 2003)
  36. TCPSend / Netscape Server 4.1 (Philip Edell 2003)
  37. Re: TCPSend/Replace DB Records (Clint Davis 2002)
  38. Re: TCPSend/Replace DB Records (Donovan 2002)
  39. Re: TCPSend/Replace DB Records (Jay Van Vark 2002)
  40. Re: TCPSend/Replace DB Records (Dan Strong 2002)
  41. Re: TCPSend/Replace DB Records (Alex McCombie 2002)
  42. Re: TCPSend/Replace DB Records (Dan Strong 2002)
  43. TCPSend/Replace DB Records (Clint Davis 2002)
  44. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  45. Re: TCPConnect / TCPSend to Solaris NN Enterprise (dale's stuff 2002)
  46. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  47. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
  48. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  49. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
  50. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Peter Werno 2002)
  51. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Kenneth Grome 2002)
  52. TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
  53. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  54. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  55. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  56. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  57. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  58. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  59. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  60. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  61. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  62. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  63. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  64. Re: tcpconnect/tcpsend frustrations (Pedro Rivera 2002)
  65. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  66. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  67. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  68. Re: tcpconnect/tcpsend frustrations (John Peacock 2002)
  69. Re: tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  70. Re: tcpconnect/tcpsend frustrations (Jesse Williams-Proudman 2002)
  71. tcpconnect/tcpsend frustrations (ScottR@benjerry.com 2002)
  72. Re: [tcpsend] (Scott Anderson 2001)
  73. Re: [tcpsend] (dale 2001)
  74. Re: [tcpsend] (Michael Davis 2001)
  75. Re: [tcpsend] (Scott Anderson 2001)
  76. Re: [tcpsend] (Bob Minor 2001)
  77. Re: [tcpsend] (Scott Anderson 2001)
  78. Re: [tcpsend] (Bob Minor 2001)
  79. Re: [tcpsend] (Scott Anderson 2001)
  80. Re: [tcpsend] (John Peacock 2001)
  81. Re: [tcpsend] (Alain Russell 2001)
  82. Re: [tcpsend] (Bob Minor 2001)
  83. Re: [tcpsend] (Bob Minor 2001)
  84. Re: [tcpsend] (Jay Van Vark 2001)
  85. Re: [tcpsend] (Sam Lewis 2001)
  86. [tcpsend] (Jeff Grady 2001)
  87. Re: tcpsend (John Peacock 2001)
  88. Re: tcpsend (Arturo Vargas 2001)
  89. Re: tcpsend (Marc Kaiwi 2001)
  90. Re: tcpsend (Arturo Vargas 2001)
  91. Re: tcpsend (Marc Kaiwi 2001)
  92. Re: tcpsend (Scott Anderson 2001)
  93. Re: tcpsend (Marc Kaiwi 2001)
  94. Re: tcpsend (Marc Kaiwi 2001)
  95. tcpsend (Arturo Vargas 2001)
  96. Re: [showif] based on data from [tcpconnect][tcpsend]? (Rob Marquardt 2000)
  97. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  98. Re: [showif] based on data from [tcpconnect][tcpsend]? (Alex McCombie 2000)
  99. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  100. Re: [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  101. Re: [showif] based on data from [tcpconnect][tcpsend]? (Dennis J. Bonsall, Jr. 2000)
  102. [showif] based on data from [tcpconnect][tcpsend]? (Mark Derrick 2000)
  103. Re: Does TCPconnect/TCPsend do multiples? (Kenneth Grome 2000)
  104. Re: Does TCPconnect/TCPsend do multiples? (Peter Ostry 2000)
  105. Re: Does TCPconnect/TCPsend do multiples? (Kenneth Grome 2000)
  106. Does TCPconnect/TCPsend do multiples? (Joseph D'Andrea 2000)
  107. TCPConnect/TCPSend/FTP syntax (Michael Winston 2000)
  108. Re: need some help with tcpsend (Rob Marquardt 2000)
  109. Re: need some help with tcpsend (Rob Marquardt 2000)
  110. need some help with tcpsend (Nitai 2000)
  111. need some help with tcpsend (Nitai 2000)
  112. Re: TCPsend with POST? (Rob Marquardt 1999)
  113. TCPsend with POST? (Matthias Precht 1999)
  114. Speaking of TCPSend (Robert Kudrle 1999)
  115. Re: TCPSEND (Rob Marquardt 1999)
  116. TCPSEND (Michael D. Kirkpatrick 1999)
  117. Re: [TCPSend] and whois? (Charlie Romero 1999)
  118. Re: [TCPSend] and whois? (Peter Ostry 1999)
  119. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  120. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  121. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  122. Re: [TCPSend] and whois? (The Mooseman 1999)
  123. [TCPSend] and whois? (Charlie Romero 1999)
  124. [tcpsend] ( A po)
On 11/12/99 12:42 am, Michael D. Kirkpatrick so noted...>I am running into a little problem with using the tcpsend command. The >contents of the variables >can be as large as 100000 characters. I am running into the problem of >it cutting off the characters >randomly from 300 - 1000 characters. Also on top of that, my server is >logging all the data that is sent via the >following method: > >[middle startafter=&endbefore=][tcpconnect >host=www.myhost.com] >[tcpsend]POST >www.myhost.com/receive/page.tmpl?sku=[url][sku][/url]&desc=[url][desc][/ur >l]&price=[url][price][/url]&category=[url][category][/url]HTTP/1.1[unurl]% >0D%0A%0D%0A[/unurl][/tcpsend][/tcpconnect][/middle]Try pulling the arguments out of the URL. I saved this sample on a Mac, so the carriage returns are part of the file. You may need to change the [LF] text variable to contain the CR and move them to the ends of the previous lines.[text]LF=[unurl]%0A[/unURL][/text] [middle startafter=&endbefore=][tcpconnect host=www.myhost.com] [tcpsend]POST /receive/page.tmpl HTTP/1.1 [LF]Referer: http:/[thisurl] [LF]Host: www.myhost.com [LF]Content-type: application/x-www-form-urlencoded [LF] [LF]sku=[url][sku][/url]&desc=[url][desc][/url]&price=[url][price][/url]&ca tegory=[url][category][/url] [LF][/tcpsend][/tcpconnect][/middle]I had also passed the Content-length: header, but I don't know if that's absolutely necessary. You can throw all the data you're passing into a text variable and do a [countchars] on that variable to get a count if needed.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Rob Marquardt

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:

Need relative path explanation (1997) search question (2001) WC 2.0 frames feature (1997) [Announce]: Web server security and password protection (1997) Word wrapping (1997) emailer (1997) date pref (1999) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Credit card arrangement (2005) emailer w/F2 (1997) Search Philosophy (2001) FTP and [shell] (2003) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) [math] variable question (1997) Showif for mulitple variations (1997) Multiple prices (1997) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) insert graphic in email (2000) catching WebDNA error messages (2003) Bug or syntax error on my part? (1997)