Copying files over network

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    Copying files over network

    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
  • AlexS

    #2
    Re: Copying files over network

    You might need to use asynchronous mode - check FileStream.Begi nWrite 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@y ahoo.com> wrote in message
    news:6b5001c42f 02$96630b90$a40 1280a@phx.gbl.. .[color=blue]
    > 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[/color]


    Comment

    • AlexS

      #3
      Re: Copying files over network

      You might need to use asynchronous mode - check FileStream.Begi nWrite 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@y ahoo.com> wrote in message
      news:6b5001c42f 02$96630b90$a40 1280a@phx.gbl.. .[color=blue]
      > 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[/color]


      Comment

      Working...