Re: [WebDNA] Tcpconnect to UPS - Error: couldn't connect to host

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105999
interpreted = N
texte = --Boundary-01=_6795MtndKwZLfmq Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit The host is not "ups.com/ups.app/xml/Rate" it is just "ups.com" Sincerely, Kenneth Grome > Hello everyone, > > Could someone tell me what is wrong with the the code > below to connect to ups.com? The reply I'm getting is: > ?Error: couldn't connect to host > [ups.com/ups.app/xml/Rate] > > [text]reply=[tcpconnect > host=ups.com/ups.app/xml/Rate&port=443&ssl=t] > [tcpsend]POST /transaction > HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]USER-AGENT: > Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) > [unurl]%0D%0A[/unurl][!] > [/!]Content-Type:text/namevalue[unurl]%0D%0A[/unurl][!] > [/!]Content-Length:[CountChars][content][/CountChars][unu > rl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!] > [/!][content][unurl]%0D%0A[/unurl][!] > [/!][/tcpsend] > [/tcpconnect] > [/text] > > > Thank you, > Steve --Boundary-01=_6795MtndKwZLfmq Content-Type: text/html; charset="iso-8859-6" Content-Transfer-Encoding: 7bit

The host is not "ups.com/ups.app/xml/Rate" it is just "ups.com"

Sincerely,

Kenneth Grome

> Hello everyone,

>

> Could someone tell me what is wrong with the the code

> below to connect to ups.com? The reply I'm getting is:

> ?Error: couldn't connect to host

> [ups.com/ups.app/xml/Rate]

>

> [text]reply=[tcpconnect

> host=ups.com/ups.app/xml/Rate&port=443&ssl=t]

> [tcpsend]POST /transaction

> HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]USER-AGENT:

> Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

> [unurl]%0D%0A[/unurl][!]

> [/!]Content-Type:text/namevalue[unurl]%0D%0A[/unurl][!]

> [/!]Content-Length:[CountChars][content][/CountChars][unu

> rl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!]

> [/!][content][unurl]%0D%0A[/unurl][!]

> [/!][/tcpsend]

> [/tcpconnect]

> [/text]

>

>

> Thank you,

> Steve

--Boundary-01=_6795MtndKwZLfmq-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Tcpconnect to UPS - Error: couldn't connect to host (Toby Cox 2010)
  2. Re: [WebDNA] Tcpconnect to UPS - Error: couldn't connect to host (Kenneth Grome 2010)
  3. [WebDNA] Tcpconnect to UPS - Error: couldn't connect to host (Steve Raslevich 2010)
--Boundary-01=_6795MtndKwZLfmq Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit The host is not "ups.com/ups.app/xml/Rate" it is just "ups.com" Sincerely, Kenneth Grome > Hello everyone, > > Could someone tell me what is wrong with the the code > below to connect to ups.com? The reply I'm getting is: > ?Error: couldn't connect to host > [ups.com/ups.app/xml/Rate] > > [text]reply=[tcpconnect > host=ups.com/ups.app/xml/Rate&port=443&ssl=t] > [tcpsend]POST /transaction > HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]USER-AGENT: > Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) > [unurl]%0D%0A[/unurl][!] > [/!]Content-Type:text/namevalue[unurl]%0D%0A[/unurl][!] > [/!]Content-Length:[countchars][content][/CountChars][unu > rl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!] > [/!][content][unurl]%0D%0A[/unurl][!] > [/!][/tcpsend] > [/tcpconnect] > [/text] > > > Thank you, > Steve --Boundary-01=_6795MtndKwZLfmq Content-Type: text/html; charset="iso-8859-6" Content-Transfer-Encoding: 7bit

The host is not "ups.com/ups.app/xml/Rate" it is just "ups.com"

Sincerely,

Kenneth Grome

> Hello everyone,

>

> Could someone tell me what is wrong with the the code

> below to connect to ups.com? The reply I'm getting is:

> ?Error: couldn't connect to host

> [ups.com/ups.app/xml/Rate]

>

> [text]reply=[tcpconnect

> host=ups.com/ups.app/xml/Rate&port=443&ssl=t]

> [tcpsend]POST /transaction

> HTTP/1.0[unurl]%0D%0A[/unurl][!] [/!]USER-AGENT:

> Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

> [unurl]%0D%0A[/unurl][!]

> [/!]Content-Type:text/namevalue[unurl]%0D%0A[/unurl][!]

> [/!]Content-Length:[countchars][content][/CountChars][unu

> rl]%0D%0A[/unurl][!] [/!][unurl]%0D%0A[/unurl][!]

> [/!][content][unurl]%0D%0A[/unurl][!]

> [/!][/tcpsend]

> [/tcpconnect]

> [/text]

>

>

> Thank you,

> Steve

--Boundary-01=_6795MtndKwZLfmq-- 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:

WebStar Image Cache? (2003) Hiding HTML and breaking the page (1997) RE: Price recalc based on quantity (1997) Need relative path explanation (1997) $append (1998) Shoppingcart passing price (2000) Test, please ignore (2004) WebCatalog for guestbook ? (1997) Problems when user hit back (2000) Paramater Passing Value (2002) [ShowNext] (1997) WebCat3.04/w*4/OS8.5.1 and aliases (1999) Another question (1997) [ConvertChars] problem (1997) Carrying Forward (1998) WebCatalog not recognizing ShoppingCarts folder (2000) another problem (1997) POP Mail Server Reseting (1998) Search with Special Chars (1997) WebCat2.0 [format thousands .0f] no go (1997)