tags:

views:

41

answers:

1

An MSBuild project copies its output to a directory on a server. Each day, only a few files change and most have an older creation date. I can FTP this to a remote server with MSBuild tasks. But how can I do this FTP and only copy the few files that have changed?

+1  A: 

To do this you'll need something that will manage the sync for you - that is that will keep track of what file is where and update accordingly.

We have used FTPSync to do the file sync bit very tidly for a number of sites.

From MSBuild you can call an external program - so putting the two together will probably work providing your are consistently synching from the same location (otherwise its going to be more interesting!)

Murph
FTPSync, works great. Thanks.
simon831