Files synchronisation

Posted on 2006-03-30
Medium Priority
Last Modified: 2010-08-05

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"?


Question by:Ruttensoft

Assisted Solution

razorback041 earned 800 total points
ID: 16334817
System.IO.File.GetLastWriteTime will give you the times to compare the two files
LVL 70

Accepted Solution

Éric Moreau earned 1200 total points
ID: 16334833
Hi Ruttensoft,

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


Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question