Copying files over a network - best way?

joker77

Freshman
Joined
Sep 16, 2005
Messages
38
Location
Dublin
Okay, here goes...

Machine A and Machine B are on the same LAN.

There's a file, or more a series of files, in different formats on Machine A.

On Machine B there is a Card Reader or USB type storage area.

On Machine B, there is a .NET Application, not sure yet if it's going to be a smart or thin client.

The job of the .NET App is to copy a file from Machine A to Machine B. Also, it would be nice if it showed a progress bar of the file coming across.

I'm relatively new to .NET - any tips or ideas on the best way to go about doing something like this?


Mods - not sure if this is the correct area to post this thread in - please move if necessary
 
The easiest thing would be to share the folders you will be copying to/from and reference them over the network using something like \\A\share and \\B\share.

Check out the System.IO namespace, specifically the File class.

Also, I feel kind of silly mentioning this because I wrote it, but this app might do the trick for you. I don't know the specifics of what you need, but it might be worth a check.
 
Back
Top