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:

shownext problems (1998) [WebDNA] Mass email using WebDNA (2008) off topic - dna snipets (1997) Error:Too many nested [xxx] contexts (1997) Dealing with da back button (1999) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] fastcgi 7+ & [cart]? (2010) Shared conversion under WebTen (1998) frames & carts (1997) Major bug report on rootbeer (1997) using showpage and showcart commands (1996) More on the email templates (I like it) (1997) Practice runs ? (1997) multiple search commands (1997) WebCommerce: Folder organization ? (1997) Passing radio check box value to itself... (2000) two unique banners on one page (1997) Uploading Files (2000) tpl and Explorer (1998) Notepad problems (1998)