What's the best practice appending one file to another, using two FileStream
objects?

Thanks,
Eduardo


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.525 / Virus Database: 322 - Release Date: 09/10/2003

Re: FileStream by Jon

Jon
Fri Oct 24 18:41:06 CDT 2003

Eduardo Pavinato Klein <eduardoklein@mobiltec.com.br> wrote:
> What's the best practice appending one file to another, using two FileStream
> objects?

What kind of thing are you thinking of? It seems to me that you just
need to open one file read-only, the other for append, and read from
one while writing to the other. Read into a buffer rather than byte-by-
byte to avoid too many calls being made, but it seems pretty
straightforward apart from that.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too