Article View: borland.public.cppbuilder.internet.socket
Article #5461EidConnClosedGracefully
From: Ben
Date: Wed, 15 Sep 2004 12:03
Date: Wed, 15 Sep 2004 12:03
22 lines
1485 bytes
1485 bytes
Hi, I'm new to BCB, and I'm having trouble sending a POST request of type 'multipart/form-data' out to a server. I'm using the TIdHTTP class and everything in my code looks fine but I keep encountering the EidConnClosedGracefully exception. I'm setting HTTP->Request->ContentType = "multipart/form-data"; and using the HTTP->Post(url, strList) method to send things out where url is a string containing the url and strlist contains the correctly formatted message. is there anything glaringly obvious that I'm doing wrong? I haven't found any documentation on the TidHTTP class, is there any about?? Many thanks Ben.
Technical Details
Message-ID:
<41482f89@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1d3572882c95b128,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Ben" <bencollins_2000@yaho.com> From: "Ben" <bencollins_2000@yaho.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: EidConnClosedGracefully Date: Wed, 15 Sep 2004 13:03:05 +0100 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 194.216.52.66 Message-ID: <41482f89@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095249801 194.216.52.66 (15 Sep 2004 05:03:21 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail