473,382 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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
Nov 20 '05 #1
2 1840
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

<ji**********@yahoo.com> wrote in message
news:6b****************************@phx.gbl...
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

Nov 20 '05 #2
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

<ji**********@yahoo.com> wrote in message
news:6b****************************@phx.gbl...
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

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
2
by: Richard Jonas | last post by:
I've written a Windows Application in C#.net that runs in the background and silently archives files to a network drive (using the System.IO.File.Copy function). Sometimes, users may run this...
0
by: Dan | last post by:
We debug a VB.Net App that uses compact framework to a DAP Windows CE.Net device. When I debug I would like to only have the EXE copied down. Right now it copies any referrences as well and...
0
by: surya | last post by:
Hi, I need to enable shadow copying network share folder assemblies. Currently if the path is given as the network share folder path, shadow copying is not enabled. Should something special be...
2
by: Frank Rizzo | last post by:
Hello, my app needs to copy a file from local TEMP folder to network share. The network share is accessible via a domain ID. I am trying to call LogonUser API, then ImpersonateLoggedOnUser, then...
10
by: Martin Ho | last post by:
I am running into one really big problem. I wrote a script in vb.net to make a copy of folders and subfolder to another destination: - in 'from.txt' I specify which folders to copy - in...
4
by: Sue | last post by:
Hello We have an application where the user would upload files (max size of 200 mb) from their client machine. This application will run on a web server (its a web server which would be used by...
2
by: Jerad Rose | last post by:
I have a fairly simple C# console app which copies files from a network folder to a local folder. When the app resides on my local C: drive, it runs just fine. However, when the app resides on a...
1
by: Mike P | last post by:
I have been asked to create an application that copies folders on a network from one location to another, based upon a text file on the network that lists folder name, destination, and copy...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.