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:

Emailer setup (1997) Quitting WebMerchant ? (1997) RE: Problem (1997) PIXO Support (1997) 2.01 upgrade problems (1997) Not really WebCat (1997) Pre-parse hell (2008) Searchable Archives (1998) Cart Unique After Rolling Back Time? (2001) Tax & Shipping (1997) Problems with [Applescript] (1997) Nesting format tags (1997) [url] (1997) [WebDNA] Triggers.db wiped completely blank (2011) [Announce]: Web server security and password protection (1997) [shell]? (2000) The Archives? (1999) unique ascending numbers (2003) [WebDNA] Version 8 (2014) Introduction/Tutorial/QuickStart (1997)