Files synchronisation

Posted on 2006-03-30
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
    LVL 5

    Assisted Solution

    System.IO.File.GetLastWriteTime will give you the times to compare the two files
    LVL 69

    Accepted Solution

    Hi Ruttensoft,

    see my March 2006 article at


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now