Copying files over network

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have a program that starts a new thread to backup files
from a computer over the network to our server. The
problem is when it is copying the files you can hardly
navigate around in windows explorer. I would like this
program to backup users files somewhat transparently. As
it is now they can hardly navigate through their files
and folders while it's running. Is there a way to slow
this proccess down or keep it from tying up the system so
much? Any ideas would be appreciated.

Thanks,
Shane
 
You might need to use asynchronous mode - check FileStream.BeginWrite and
related samples in MSDN
Otherwise check if your copying thread is not running with same priority as
normal applications.

And if you have only one disk and lots of data to copy over fast network it
will be always like this. Try to copy 10Gb file on the disk and do something
with Explorer at the same time. Such things are not yet for PCs...

HTH
Alex
 
Back
Top