HighTechTalks DotNet Forums  

Copying files over network

VB.net microsoft.public.dotnet.languages.vb


Discuss Copying files over network in the VB.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
 
Posts: n/a

Default Copying files over network - 04-30-2004 , 05:29 PM






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

Reply With Quote
  #2  
Old   
AlexS
 
Posts: n/a

Default Re: Copying files over network - 05-02-2004 , 12:47 AM






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

<jimmydean_12 (AT) yahoo (DOT) com> wrote

Quote:
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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.