FileStream

  • Thread starter Thread starter Eduardo Pavinato Klein
  • Start date Start date
E

Eduardo Pavinato Klein

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

Thanks,
Eduardo
 
Eduardo Pavinato Klein said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top