TCPConnect/Send

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51989
interpreted = N
texte = Hello: I am trying to send data from MAC OS9 server to OSX server using tcpconnect. The data will be appended to a db file. webDNA is running on both servers. I dug the following code out of the archives, but it is not working. I get a page that says BAD Request - you have sent a request that the server does not understand. I don't understand anything about this command at all and cannot find much of an explanation anywhere. Could somebody please look at this and tell me what I am doing wrong and/or point me to some examples of the correct syntax. TIA Sally --------------------------------The Code [text]post_data=name=[name]&score=[score]&happy=[happy][/text] [tcpconnect host=206.102.88.10] [tcpsend]POST remoteWrite.html HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT5.0)[UnURL]%0D%0A%0D%0A[/UnURL][!] [/!]Content-type: application/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][!] [/!]Content-length:[CountChars][post_data][/CountChars][UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][post_data][UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPSend][UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPConnect] ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
  2. Re: why won't this TCPConnect/Send work? ( John Hill 2004)
  3. why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
  4. why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
  5. TCPConnect/Send ( sallyr@dvinci.com (Sally Reidy) 2003)
Hello: I am trying to send data from MAC OS9 server to OSX server using tcpconnect. The data will be appended to a db file. webDNA is running on both servers. I dug the following code out of the archives, but it is not working. I get a page that says BAD Request - you have sent a request that the server does not understand. I don't understand anything about this command at all and cannot find much of an explanation anywhere. Could somebody please look at this and tell me what I am doing wrong and/or point me to some examples of the correct syntax. TIA Sally --------------------------------The Code [text]post_data=name=[name]&score=[score]&happy=[happy][/text] [tcpconnect host=206.102.88.10] [tcpsend]POST remoteWrite.html HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][!] [/!]USER-AGENT: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT5.0)[unurl]%0D%0A%0D%0A[/UnURL][!] [/!]Content-type: application/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][!] [/!]Content-length:[countchars][post_data][/CountChars][unurl]%0D%0A%0D%0A[/UnURL][!] [/!][unurl]%0D%0A%0D%0A[/UnURL][!] [/!][post_data][unurl]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPSend][unurl]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPConnect] ------------------------------------------------------------- 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://webdna.smithmicro.com/ sallyr@dvinci.com (Sally Reidy)

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:

[WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) What folder??? (1999) RE: [shownext] support - MacOS (1997) [OT] Friday Time Waster (2003) Card clearance, problems - solutions? (1997) AccountAuthorizer doesn't seem to work (1997) hiding links (1999) Am I going senile? (Price recalc based on quantity) (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat for paper collection, review and coordination ? (1998) Migrating to NT (1997) creating an email message (1998) restart needed???? (1997) Handy Browser Counter Tip (1997) For those of you not on the WebCatalog Beta... (1997) Thanks for tips, more quest (1997) multiple databases (1997) F3 crashing server (1997) Hosts who have upgraded to v5.0? (2003) SQL/ODBC (again) (2004)