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:

OFF-TOPIC: Lending investors ... (2002) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) PCS Frames (1997) Confused about Grep Syntax (2004) Sorting by SKU Not Working (1998) WCf2 and nested tags (1997) RE: creating writefile data from a nested search (1997) WebCat Documentation (was [platform] tag?) (1998) SET (1998) RE: New WebCatalog Version !!! (1997) stumped (2001) French characters in variables (2001) How can I Add several Items into the cart at once? (1997) Server slowing down. (1997) WebCat B13 Mac CGI -- Frames question (1997) bannerads example idiot (1997) This Code Kills My WebCatalog Dead (2003) Non-Cart Files in Shopping Cart Folder (1997) Custom Shipping Charges (1997) Initiating NewCart (1997)