Problem with System.IO.File.Copy method

B

Blair

I have an Windows forms application that uses the File.Copy method to copy
several files from a network file share to a folder on the local PC (the PC
running the windows form application). The problem I've run into is that
sometimes, chunks of the file content are not copied. For example, a 832Kb
file on the network share is copied, but the size on the local folder is less
than 100kb. The file is readable, but not all of the content is present.
The troubling part of this is that no exception is thrown. Anyone have an
idea how this could happen and what I might be able to do about it?
 

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

Top