• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Files synchronisation

Hello

I want to make a little application which can synchronize files between 2 or more PCs.

The files are the on a server where the PCs are connecting too, if a newer version of the file is on the PC, it should copy it too the Server, if else it should copy it from the server to the PC...

Now how can I see which file is "newer"?

Thanks

Sven
0
Ruttensoft
Asked:
Ruttensoft
2 Solutions
 
razorback041Commented:
System.IO.File.GetLastWriteTime will give you the times to compare the two files
0
 
Éric MoreauSenior .Net ConsultantCommented:
Hi Ruttensoft,

see my March 2006 article at http://emoreau.s2i.com/

Cheers!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now