🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #17367

Split file.

#17367
From: Safari
Date: Sat, 05 Apr 2003 18:14
11 lines
1191 bytes
Hello,
How can i split a file with TFileStream?
I want to read Exmp:
1..50,000 bytes of 1,000,000 bytes to MyFile.001
50,001..100,000 bytes of 1,000,000 bytes to MyFile.002
...
//Continue while eof(MyFile);

// Source code or web page address.
Thanks,
Safari
Technical Details
Message-ID: <3E8F1D05.40008@alloymail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8f5102c5a422c5bb,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-05 14:13:18 PST
Message-ID: <3E8F1D05.40008@alloymail.com>
Date: Sat, 05 Apr 2003 22:44:29 +0430
From: Safari <Safari@alloymail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Split file.
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.28.33.76
X-Trace: newsgroups.borland.com 1049580587 81.28.33.76 (5 Apr 2003 14:09:47 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail