Re: TCPConnect / TCPSend to Solaris NN Enterprise

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43847
interpreted = N
texte = There's not supposed to be any line break in the TCPSend context, but your code has one there, at least in the email message I received from the list. Try removing that line break and let us know if it works, or try this instead:[text]newline=[UnURL]%0D%0A%0D%0A[/UnURL][/text] [middle startafter=&endbefore=] [TCPConnect host=www.[ref_host].com&port=80] [TCPSend]GET [ref_path] HTTP/1.0[newline][/TCPSend] [/TCPConnect] [/middle] >I have an application I've developed that uses TCPconnect to send HTML pages >through email. All the development for this product was done on MacOS/Webstar >including the TCPconnects / sends. After completion and testing, >I've tried to do >some TCPconnects to a Solaris 8 Box running Netscape-Enterprise/3.6 >SP3, and of >course the connect fails. I suspect it has to do with the line breaks in the >send. The code that I'm using below is what works perfect when >connecting to a >Mac/Web* page... > > >[middle startafter=&endbefore=] >[TCPConnect host=www.[ref_host].com&port=80] >[TCPSend]GET [ref_path] >HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] >[/TCPConnect] >[/middle] > > >When I use this code to connect to the Solaris / NN page, I get this message >returned... > > ---- HTTP/1.1 400 Bad Request Server: Netscape-Enterprise/3.6 SP3 >Your browser >sent a message this server could not understand. ---- > >Could someone please explain the linebreak issue, and provide me with the >appropriate information I'll need to perform this connection? > >Thanks in Advance!! > >-Robert > > >------------------------------------------------------------- >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://search.smithmicro.com/Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  2. Re: TCPConnect / TCPSend to Solaris NN Enterprise (dale's stuff 2002)
  3. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  4. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
  5. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Alain Russell 2002)
  6. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
  7. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Peter Werno 2002)
  8. Re: TCPConnect / TCPSend to Solaris NN Enterprise (Kenneth Grome 2002)
  9. TCPConnect / TCPSend to Solaris NN Enterprise (Robert Wade 2002)
There's not supposed to be any line break in the TCPSend context, but your code has one there, at least in the email message I received from the list. Try removing that line break and let us know if it works, or try this instead:[text]newline=[unurl]%0D%0A%0D%0A[/UnURL][/text] [middle startafter=&endbefore=] [TCPConnect host=www.[ref_host].com&port=80] [tcpsend]GET [ref_path] HTTP/1.0[newline][/TCPSend] [/TCPConnect] [/middle] >I have an application I've developed that uses TCPconnect to send HTML pages >through email. All the development for this product was done on MacOS/Webstar >including the TCPconnects / sends. After completion and testing, >I've tried to do >some TCPconnects to a Solaris 8 Box running Netscape-Enterprise/3.6 >SP3, and of >course the connect fails. I suspect it has to do with the line breaks in the >send. The code that I'm using below is what works perfect when >connecting to a >Mac/Web* page... > > >[middle startafter=&endbefore=] >[TCPConnect host=www.[ref_host].com&port=80] >[tcpsend]GET [ref_path] >HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] >[/TCPConnect] >[/middle] > > >When I use this code to connect to the Solaris / NN page, I get this message >returned... > > ---- HTTP/1.1 400 Bad Request Server: Netscape-Enterprise/3.6 SP3 >Your browser >sent a message this server could not understand. ---- > >Could someone please explain the linebreak issue, and provide me with the >appropriate information I'll need to perform this connection? > >Thanks in Advance!! > >-Robert > > >------------------------------------------------------------- >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://search.smithmicro.com/Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ 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:

Text data with spaces in them... (1997) Practice runs ? (1997) ConverChars (1999) PIXO support (1997) WebCatalog [FoundItems] Problem - LONG - (1997) MacAuthorize hub, no modal password dialog? (1997) Forbidden CGI Error (1997) addlineitem is not saving a variable. (2004) [math] storage of variables (1997) Copyright ? (1997) Emailer Set Up (1997) WebTV, IPAddress, Cookies, IDEAS?? (1998) getting images' width/height (1998) Postdata expired from cache (2004) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Faxing orders in place of email (1997) more [sendmail] woes.. (2000) [TaxableTotal] - not working with AOL and IE (1997) Questions on Mac WC 3.0.5b13 (2000) Protect (1997)