Re: [TCPConnect] questions/problems

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39686
interpreted = N
texte = To John, Glenn, Christer, and Jay,Thanks for your replies on this.It now finally works!I had tried removing some of the additional headers, but the key mistake I made was not putting everything all on the same line. Doing that as described by John in his last reply soled the trick.Now I just have to play around with the [middle] context to strip everything out and place it in the proper field in the db :)Thanks again.DaleOn Thu, 25 Oct 2001 13:47:43 John Peacock wrote: > Dale Therio wrote: > > > > Saved it with DOS line breaks via BBEdit, not unfortunately > I am > > back to the file not found error :( > > > > What am using: > > > > --- > > [TCPConnect host=www.russellgrant.com&port=80] > > [TCPSend]GET /partner/feeds/bearnet/weekly.xml HTTP/1.0 > > User-Agent: Mozilla/4.73 (Macintosh; U; PPC) > > Host: www.russellgrant.com > > Accept: image/gif, image/x-xbitmap, image/jpeg, > image/pjpeg, */* > > Accept-Language: en > > Accept-Charset: iso-8859-1,*,utf-8 > > [UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] > > [/TCPConnect] > > I'm sorry, I was showing you that you could put lots of stuff > there, not > that you SHOULD. Take out everything extraneous (and through > in the [unURL]) > and make it a single line (doesn't look that way in e-mail): > > [TCPConnect host=www.russellgrant.com&port=80] > [TCPSend]GET /partner/feeds/bearnet/weekly.xml > HTTP/1.0[UnURL]%0D%0A[/UnURL]Host: > www.russellgrant.com[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] > [/TCPConnect] > > If I telnet to the site and send two lines > > GET /partner/feeds/bearnet/weekly.xml HTTP/1.0 > Host: www.russellgrant.com > > followed by an extra CR/LF, I see the whole page just fine. > It may be that the > [TCPSend] tag is being a little too smart for its own good. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747------------------------------------------------------------- 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] questions/problems (Dale Therio 2001)
  2. Re: [TCPConnect] questions/problems (John Peacock 2001)
  3. Re: [TCPConnect] questions/problems (Dale Therio 2001)
  4. Re: [TCPConnect] questions/problems (John Peacock 2001)
  5. Re: [TCPConnect] questions/problems (Glenn Busbin 2001)
  6. Re: [TCPConnect] questions/problems (Dale Therio 2001)
  7. Re: [TCPConnect] questions/problems (Christer Olsson 2001)
  8. Re: [TCPConnect] questions/problems (John Peacock 2001)
  9. Re: [TCPConnect] questions/problems (Dale Therio 2001)
  10. Re: [TCPConnect] questions/problems (Jay Van Vark 2001)
  11. [TCPConnect] questions/problems (Dale Therio 2001)
To John, Glenn, Christer, and Jay,Thanks for your replies on this.It now finally works!I had tried removing some of the additional headers, but the key mistake I made was not putting everything all on the same line. Doing that as described by John in his last reply soled the trick.Now I just have to play around with the [middle] context to strip everything out and place it in the proper field in the db :)Thanks again.DaleOn Thu, 25 Oct 2001 13:47:43 John Peacock wrote: > Dale Therio wrote: > > > > Saved it with DOS line breaks via BBEdit, not unfortunately > I am > > back to the file not found error :( > > > > What am using: > > > > --- > > [TCPConnect host=www.russellgrant.com&port=80] > > [tcpsend]GET /partner/feeds/bearnet/weekly.xml HTTP/1.0 > > User-Agent: Mozilla/4.73 (Macintosh; U; PPC) > > Host: www.russellgrant.com > > Accept: image/gif, image/x-xbitmap, image/jpeg, > image/pjpeg, */* > > Accept-Language: en > > Accept-Charset: iso-8859-1,*,utf-8 > > [unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] > > [/TCPConnect] > > I'm sorry, I was showing you that you could put lots of stuff > there, not > that you SHOULD. Take out everything extraneous (and through > in the [unurl]) > and make it a single line (doesn't look that way in e-mail): > > [TCPConnect host=www.russellgrant.com&port=80] > [tcpsend]GET /partner/feeds/bearnet/weekly.xml > HTTP/1.0[unurl]%0D%0A[/UnURL]Host: > www.russellgrant.com[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] > [/TCPConnect] > > If I telnet to the site and send two lines > > GET /partner/feeds/bearnet/weekly.xml HTTP/1.0 > Host: www.russellgrant.com > > followed by an extra CR/LF, I see the whole page just fine. > It may be that the > [tcpsend] tag is being a little too smart for its own good. > > John > > -- > John Peacock > Director of Information Research and Technology > Rowman & Littlefield Publishing Group > 4720 Boston Way > Lanham, MD 20706 > 301-459-3366 x.5010 > fax 301-429-5747------------------------------------------------------------- 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/ Dale Therio

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 Beta Documentation (1997) Hello??? (1997) [OT] .php3 extension (2000) WebDNA and SQL (2003) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) UPS went bye bye (2006) Date sorting (1997) WebCat2: Formulas.db question (1997) filemaker - orderfile (1997) webcat NT (1998) Couple of questions (1999) Null Characters (2005) easy numfound search? (2001) Allow/Deny with Webcat? (1998) Kanji in http requests (1998) Document Contains No Data! (1997) Carts & Refering URLs (1997) Custom Shipping Charges (1997) Not really WebCat (1997) [OT] Passing a WebDNA variable through flash (2004)