TCPConnect/Send problem

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39281
interpreted = N
texte = WebCat 4.02rc2 CGI, WebSTAR 4.4, MacOS 9.2I use TCPConnect and TCPSend to pull headlines from the AP's affiliate site for our newspaper site. It was working fine until a few weeks ago, and today was the first chance I've had to take a look at what's going on.Here's my problem code:[TCPConnect host=wire.ap.org&port=80] [TCPSend]GET /APpromo/lineups/Technology.html HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect]Here's what's getting returned:HTTP/1.0 400 Bad Request Server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 175 Expires: Thu, 11 Oct 2001 20:33:47 GMT Date: Thu, 11 Oct 2001 20:33:47 GMT Connection: close Invalid URL

Invalid URL

The requested URL /APpromo/lineups/Technology.html, is invalid.

If I enter the URL http://wire.ap.org/APpromo/lineups/Technology.html directly into the browser, it returns the data I'm looking for, so the file and path are correct. I have the above WebDNA wrapped in a [writefile] context that I then use [include] to pull into our page.Does anyone see a problem with the above TCPConnect/Send code? It was working all hunky-dory until a month or so ago (I'm not exactly sure when).Thanks!Steven-- Steven Jarvis Web Developer The Morning News NWAonline.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. TCPConnect/Send problem (Steven Jarvis 2001)
WebCat 4.02rc2 CGI, WebSTAR 4.4, MacOS 9.2I use TCPConnect and TCPSend to pull headlines from the AP's affiliate site for our newspaper site. It was working fine until a few weeks ago, and today was the first chance I've had to take a look at what's going on.Here's my problem code:[TCPConnect host=wire.ap.org&port=80] [tcpsend]GET /APpromo/lineups/Technology.html HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect]Here's what's getting returned:HTTP/1.0 400 Bad Request Server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 175 Expires: Thu, 11 Oct 2001 20:33:47 GMT Date: Thu, 11 Oct 2001 20:33:47 GMT Connection: close Invalid URL

Invalid URL

The requested URL /APpromo/lineups/Technology.html, is invalid.

If I enter the URL http://wire.ap.org/APpromo/lineups/Technology.html directly into the browser, it returns the data I'm looking for, so the file and path are correct. I have the above WebDNA wrapped in a [writefile] context that I then use [include] to pull into our page.Does anyone see a problem with the above TCPConnect/Send code? It was working all hunky-dory until a month or so ago (I'm not exactly sure when).Thanks!Steven-- Steven Jarvis Web Developer The Morning News NWAonline.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/ Steven Jarvis

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:

RE: is sku a REQUIRED field on NT (1997) name of file (2002) b12 cannot limit records returned and more. (1997) RE: How much ram??? (1997) Problems with [Search] param - Mac Plugin b15 (1997) [REPLACE] inside [FOUNDITEMS] (1998) New Business Opportunity (2006) Converting a Magazine to a Web Site with WebCat (1999) Bug Report, maybe (1997) RE: textA and Title? (1997) WebMerchant 1.6 and https (1997) So when do we get something similar? (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) [listfields] context (2005) Tab Charactor (1997) Dreamweaver Extensions (2000) what servers are supported for Typhoon? (1997) HELP WITH DATES (1997) required fields (1998)