Re: User / Pass in TCP connect

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68485
interpreted = N
texte = Donovan Brooke wrote: > Anyone know the syntax in sending an auth via TCP connect? Well, I found the syntax for the Auth, but I realized I was putting the cart before the horse... meaning, I don't think I'm hitting the page I'm intending to hit... I thought that may have been because of the auth, but now I'm thinking it is some other reason why I'm not hitting the URL. Do you all see any syntax issues that I may be missing? Can anyone see an issue with the following: [text]xml_result=[middle startafter=&endbefore=] [tcpconnect host=www.con-way.com&port=443&ssl=T] [tcpsend]POST /XMLj/X-Rate 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: application/x-www-form-urlencoded[UnURL]%0D%0A[/UnURL][!] [/!]Authorization: Basic [Encrypt method=3DBase64]XXXXX:XXXXX[/Encrypt][unurl]%0D%0A[/unurl][!] [/!]Content-length: [CountChars][cwcontent][/CountChars][UnURL]%0D%0A[/UnURL][!] [/!][cwcontent][UnURL]%0D%0A[/UnURL][UnURL]%0D%0A[/UnURL][!] [/!][/TCPSend] [/tcpconnect][/middle][/text] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: User / Pass in TCP connect ( John Peacock 2007)
  2. Re: User / Pass in TCP connect ( Donovan Brooke 2007)
  3. Re: User / Pass in TCP connect ( Stuart Tremain 2007)
  4. Re: User / Pass in TCP connect ( Donovan Brooke 2007)
  5. Re: User / Pass in TCP connect ( Donovan Brooke 2007)
  6. Re: User / Pass in TCP connect ( Donovan Brooke 2007)
  7. Re: User / Pass in TCP connect ( Donovan Brooke 2007)
  8. User / Pass in TCP connect ( Donovan Brooke 2007)
Donovan Brooke wrote: > Anyone know the syntax in sending an auth via TCP connect? Well, I found the syntax for the Auth, but I realized I was putting the cart before the horse... meaning, I don't think I'm hitting the page I'm intending to hit... I thought that may have been because of the auth, but now I'm thinking it is some other reason why I'm not hitting the URL. Do you all see any syntax issues that I may be missing? Can anyone see an issue with the following: [text]xml_result=[middle startafter=&endbefore=] [tcpconnect host=www.con-way.com&port=443&ssl=T] [tcpsend]POST /XMLj/X-Rate 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: application/x-www-form-urlencoded[unurl]%0D%0A[/UnURL][!] [/!]Authorization: Basic [Encrypt method=3DBase64]XXXXX:XXXXX[/Encrypt][unurl]%0D%0A[/unurl][!] [/!]Content-length: [countchars][cwcontent][/CountChars][unurl]%0D%0A[/UnURL][!] [/!][cwcontent][unurl]%0D%0A[/UnURL][unurl]%0D%0A[/UnURL][!] [/!][/TCPSend] [/tcpconnect][/middle][/text] Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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://webdna.smithmicro.com/ Donovan Brooke

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:

HTML encoding in URLs (1997) WebCat2 - [include] tags (1997) Problem with pull down menu (1998) Nested tags count question (1997) Need relative path explanation (1997) [what] [am] [I] [missing]? (2003) [WebDNA] improvements (2015) SQLCONNECT (2005) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) IE Cache Problems... (1999) R.I.P. Netscape (2003) [SubTotal] again (1998) Encrypted links ... (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Quickie question on the email templates (1997) [WriteFile] problems (1997) New commands in Final candidate (1997) Execute Applescript (1997) Sorting problem (1997) Sorting error (1997)