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:

flushdatabases (2000) Overriding text variables ... (2000) search vs lookup (1998) More on the email templates (1997) Username/Password with [Protect] (2000) RE: MacFinder -- a new WebDNA web site (1998) suffix mapping for NT? (1997) WebDNA 4.5 not starting on boot? (2002) REPOST: Overwiting SKU in Cart (2002) Seattle based Webcatters? (2000) WebCatalog 3 for Macintosh (1998) WC2.0 Memory Requirements (1997) Sorting by date (1997) Email Spam a bit of Hell (2004) WebCat name recognition (was MacFinder -- a new WebDNA website) (1998) Setting up shop (1997) Need help with emailer- 2 issues (1997) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) The Form authentication trick (2000) Discount solution? (1998)