Article View: borland.public.cppbuilder.internet.web
Article #182Re: Doing an internet resuming on a file
From: Remy Lebeau (TeamB)
Date: Thu, 01 Nov 2007 18:15
Date: Thu, 01 Nov 2007 18:15
18 lines
1637 bytes
1637 bytes
"CJ" <cluis@yahoo.com> wrote in message news:472a0628@newsgroups.borland.com... > Lets say you download half of a file, what can I store maybe > in an .ini file that will show me where I stopped, this way I > can resume the file again. I don't want to use the Wininet > cache system for the files, I would like to do it all by setting > the pointer somewhere myself. To do what you are asking, you will have to use your own file handle. That means using InternetReadFile() and WriteFile() to download the data yourself manually insted of letting WinInet do it for you. Since you would be using your own file handle, then you can store the file whereever you want and use whatever filenme you want. Gambit
Technical Details
Message-ID:
<472a1834$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<472a0628@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> Subject: Re: Doing an internet resuming on a file Date: Thu, 1 Nov 2007 11:15:24 -0700 Lines: 20 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: <472a1834$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1193941044 207.178.157.90 (1 Nov 2007 11:17:24 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail