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:

Price recalc based on quantity (1997) MOOOOOO (2000) [WebDNA] anyone know how to enable URLs in plain text to links? (2009) [WriteFile] problems (1997) WebCatalog2 Feature Feedback (1996) searching by date ranges (2000) sorting dates (1999) Logical and or in [hideif] (1997) iTools and 3.0.8 (2000) PCS Frames (1997) PCS Frames (1997) Running _every_ page through WebCat-error.html (1997) Accented chars and emailer (1998) Taxable Shipping (2003) Help name our technology! I found it (1997) For those of you not on the WebCatalog Beta... (1997) eCommerce software pricing (1998) [shownext max=?] armed (1997) hard carriage returns and sendmail (1998) Requiring that certain fields be completed (1997)