Re: [TCPConnect] questions/problems
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39643
interpreted = N
texte = If the target site is using Host Header field mapping, you won't reach it with that.The connect is resolving the IP, but you aren't sending the host header field and therefore you are really connecting to a different site.ie -- what you are really hitting is http://212.67.202.65/partner/feeds/bearnet/weekly.xmlThat is not found....>Hello,>>I am trying to pull some data from a website and place it into a>database (with permission).>>If I go to the link directly the page loads fine, however when>using [TCPConnect] and [TCPSend] I get a file not found.>>Here is what I am using:>>[TCPConnect host=www.russellgrant.com&port=80]>[TCPSend]GET /partner/feeds/bearnet/weekly.xml>HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend]>[/TCPConnect]>>However if I directly go to >http://www.russellgrant.com/partner/feeds/bearnet/weekly.xml>the page displays fine.>>Any ideas?>>I am running this code on a Mac using OS 9 and WC 3.0.7 - it>will be running on a Linux box in the future with WC 4.x>>Thanks>>Dale-- Jay Van Vark ****************************Entrepreneur / Business Consulting Architect Promote4Lessvoice (858) 860-6402 x2019 ****************************efax (801) 659-7952http://www.Promote4Less.comRise above your competition!-------------------------------------------------------------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:
If the target site is using Host Header field mapping, you won't reach it with that.The connect is resolving the IP, but you aren't sending the host header field and therefore you are really connecting to a different site.ie -- what you are really hitting is http://212.67.202.65/partner/feeds/bearnet/weekly.xmlThat is not found....>Hello,>>I am trying to pull some data from a website and place it into a>database (with permission).>>If I go to the link directly the page loads fine, however when>using [tcpconnect] and [tcpsend] I get a file not found.>>Here is what I am using:>>[TCPConnect host=www.russellgrant.com&port=80]>[tcpsend]GET /partner/feeds/bearnet/weekly.xml>HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend]>[/TCPConnect]>>However if I directly go to >http://www.russellgrant.com/partner/feeds/bearnet/weekly.xml>the page displays fine.>>Any ideas?>>I am running this code on a Mac using OS 9 and WC 3.0.7 - it>will be running on a Linux box in the future with WC 4.x>>Thanks>>Dale-- Jay Van Vark ****************************Entrepreneur / Business Consulting Architect Promote4Lessvoice (858) 860-6402 x2019 ****************************efax (801) 659-7952http://www.Promote4Less.comRise above your competition!-------------------------------------------------------------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/
Jay Van Vark
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:
Gantt style chart (2004)
Thread (1999)
WebCatalog Hosting (1996)
Delete file through browser (1999)
Multi-processor Mac info ... (1997)
Quit revisited (1997)
syntax question, not in online refernce (1997)
[format xs] freeze (1997)
ASP and WebDNA (1998)
any idea (2004)
problems with 2 tags (1997)
WC2.0 Memory Requirements (1997)
Progress !! WAS: Trouble with formula.db (1997)
WebCat, The Trend, & Consolidating... (1997)
RE: Formulas.db + Users.db (1997)
Errata: WCS Newbie question (1997)
php vs WebCatalog (2000)
Multiple Image Upload --> ImageMagick (2005)
international time (1997)
[WebDNA] Bug in [thisurlplusget] on v7 (2011)