TCPSend / Netscape Server 4.1

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50459
interpreted = N
texte = Hi everyone,I trawled the archives for a clue as to why this doesnąt work: [TCPConnect host=secure2.epdq.co.uk&port=80] [TCPSend][UnURL]%0D%0A%0D%0A[/UnURL]POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1[UnURL]%0D%0A[/UnURL][!] [/!]Connection: close[UnURL]%0D%0A[/UnURL][!] [/!]User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)[UnURL]%0D%0A[/UnURL][!] [/!]Host: secure2.epdq.co.uk[UnURL]%0D%0A[/UnURL][!] [/!]Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*[UnURL]%0D%0A[/UnURL][!] [/!]Accept-Language: en[UnURL]%0D%0A[/UnURL][!] [/!]Accept-Charset: iso-8859-1,*,utf-8[UnURL]%0D%0A[/UnURL][!] [/!]Content-length: 83[UnURL]%0D%0A%0D%0A[/UnURL][!] [/!]clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826 &total=9.99[UnURL]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPSend] [/TCPConnect] The TCPconnect works, but the server returns Error 500.I used NetDemon to submit a post and tried in the sample above to duplicate what NetDemon was successfully posting to the same server.Netdemon seemed to show a double CR LF at start, and either side of post data. Here is the full NetDemon report of successful post:--- 05/18/03 19:42:13 GMT Daylight Time --- reading URL http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e --- contacting host secure2.epdq.co.uk [194.102.15.248] on port 80 --- Sending HTTP Request: POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1 Connection: close User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav) Host: secure2.epdq.co.uk Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 Content-length: 83 clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&tot al=9.99 --- server response: HTTP/1.1 200 OK Server: Netscape-Enterprise/4.1 Date: Sat, 17 May 2003 18:40:18 GMT Content-type: text/html;charset=iso-8859-1 Content-length: 266 Connection: close --- connection closedWhat did I do wrong?YoursPhilip Edell. ------------------------------------------------------------- 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: TCPSend / Netscape Server 4.1 (Scott Anderson 2003)
  2. Re: TCPSend / Netscape Server 4.1 (Philip Edell 2003)
  3. Re: TCPSend / Netscape Server 4.1 (John Peacock 2003)
  4. TCPSend / Netscape Server 4.1 (Philip Edell 2003)
Hi everyone,I trawled the archives for a clue as to why this doesnąt work: [TCPConnect host=secure2.epdq.co.uk&port=80] [tcpsend][unurl]%0D%0A%0D%0A[/UnURL]POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1[unurl]%0D%0A[/UnURL][!] [/!]Connection: close[unurl]%0D%0A[/UnURL][!] [/!]User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav)[unurl]%0D%0A[/UnURL][!] [/!]Host: secure2.epdq.co.uk[unurl]%0D%0A[/UnURL][!] [/!]Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*[unurl]%0D%0A[/UnURL][!] [/!]Accept-Language: en[unurl]%0D%0A[/UnURL][!] [/!]Accept-Charset: iso-8859-1,*,utf-8[unurl]%0D%0A[/UnURL][!] [/!]Content-length: 83[unurl]%0D%0A%0D%0A[/UnURL][!] [/!]clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826 &total=9.99[unurl]%0D%0A%0D%0A[/UnURL][!] [/!][/TCPSend] [/TCPConnect] The TCPconnect works, but the server returns Error 500.I used NetDemon to submit a post and tried in the sample above to duplicate what NetDemon was successfully posting to the same server.Netdemon seemed to show a double CR LF at start, and either side of post data. Here is the full NetDemon report of successful post:--- 05/18/03 19:42:13 GMT Daylight Time --- reading URL http://secure2.epdq.co.uk/cgi-bin/CcxBarclaysEpdqEncTool.e --- contacting host secure2.epdq.co.uk [194.102.15.248] on port 80 --- Sending HTTP Request: POST /cgi-bin/CcxBarclaysEpdqEncTool.e HTTP/1.1 Connection: close User-Agent: Mozilla/4.03 [en] (Win95; I ;Nav) Host: secure2.epdq.co.uk Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 Content-length: 83 clientid=5844&password=stetfortunadomus&chargetype=Auth¤cycode=826&tot al=9.99 --- server response: HTTP/1.1 200 OK Server: Netscape-Enterprise/4.1 Date: Sat, 17 May 2003 18:40:18 GMT Content-type: text/html;charset=iso-8859-1 Content-length: 266 Connection: close --- connection closedWhat did I do wrong?YoursPhilip Edell. ------------------------------------------------------------- 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/ Philip Edell

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:

Formatting a .txt file (1998) Referrer field to header field conversion (1997) [WebDNA] Circumnavigate Browser Timeout On Lengthy WebDNA Operations (2014) Harvesting invalid email addresses from bounced emails??? (2000) Merchant and WebCat 3.0 (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) email error msgs and log (2005) [WebDNA] OT, environment variables os x (2012) redirect with frames (1997) Automatic thumbnail images (1998) select multiple (1997) Not reading code (1997) POST Datamissing? (1998) [OT] What System Software? (2003) (1997) My server admin needs help ... (2004) The 10 Mistakes Most Men Make With Women (2006) Redirect (2003) Resume Catalog ? (1997) Authorize.Net down 2 days in row (2004)