Article View: borland.public.cppbuilder.internet.web
Article #187Re: Doing an internet resuming on a file
From: Remy Lebeau (TeamB)
Date: Fri, 02 Nov 2007 16:47
Date: Fri, 02 Nov 2007 16:47
19 lines
1858 bytes
1858 bytes
"CJ" <cluis@yahoo.com> wrote in message news:472a7a8a$1@newsgroups.borland.com... > How do you download the file using two threads? If the server supports the "Range" request header, then you can have one thread send a request for one range of bytes, and the other thread can request a different range of bytes. Then simply have them download to different areas of the same file, or download to separate files that you can concatenate together later on. > Where do I start? I know absolutely nothing about threads. I suggest you look at the VCL's TThread class, and look at Borland/CodeGear's examples that ship with the IDE. Gambit
Technical Details
Message-ID:
<472b5653@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<472a0628@newsgroups.borland.com> <472a1834$1@newsgroups.borland.com> <472a1f78$1@newsgroups.borland.com> <472a33c4$1@newsgroups.borland.com> <472a4e82$1@newsgroups.borland.com> <472a7a8a$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,99fbc0169b784de6 X-Google-Attributes: gidfeeec,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <472a0628@newsgroups.borland.com> <472a1834$1@newsgroups.borland.com> <472a1f78$1@newsgroups.borland.com> <472a33c4$1@newsgroups.borland.com> <472a4e82$1@newsgroups.borland.com> <472a7a8a$1@newsgroups.borland.com> Subject: Re: Doing an internet resuming on a file Date: Fri, 2 Nov 2007 09:47:06 -0700 Lines: 21 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 207.178.157.90 Message-ID: <472b5653@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1194022483 207.178.157.90 (2 Nov 2007 09:54:43 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail