Article View: borland.public.cppbuilder.internet.web
Article #194TIdHTTP component
From: Shao Chin
Date: Sat, 02 Jun 2007 20:37
Date: Sat, 02 Jun 2007 20:37
7 lines
1311 bytes
1311 bytes
Hi, I'm trying to write an applicatoin that downloads a web page given a URL. I know there is an Indy component called TIdHTTP that can do this in two lines of code: TFileStream *fs = new TFileStream(filename, fmCreate); IdHTTP->DoRequest(hmGet,url,NULL,fs); Which will download a page into a file. However, I can't find this component anywhere on the internet (all download sites are out of date). I'm running BC++ Builder 5.0 Professional. Does anyone how to do this in BC++ 5.0 without this Indy component? THanks! Shao
Technical Details
Message-ID:
<4661d4ee$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.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: feeec,8ba84d76c3b5f275,start X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Shao Chin" <fafy_99@yahoo.com> Sender: "Shao Chin" <fafy_99@yahoo.com> Reply-To: "Shao Chin" <fafy_99@yahoo.com> Subject: TIdHTTP component Newsgroups: borland.public.cppbuilder.internet.web X-User-Info: 71.37.217.84 NNTP-Posting-Host: 207.105.83.66 Message-ID: <4661d4ee$1@newsgroups.borland.com> Date: 2 Jun 2007 13:37:02 -0700 X-Trace: newsgroups.borland.com 1180816622 207.105.83.66 (2 Jun 2007 13:37:02 -0700) Lines: 8 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail