0

I need to develop a file synchronization application to sync my files from my local computer to my remote server. My local OS is windows and remote OS is Unix. I can access files on the remote on FTP.

Is file's 'modified date' enough to find out files that has been changed on my computer?

Peter Ajtai
  • 56,972
  • 13
  • 121
  • 140
EBAG
  • 21,625
  • 14
  • 59
  • 93
  • A lot of applications use the use the [Archive](http://en.wikipedia.org/wiki/Archive_bit) flag to achieve this effect. – adrianbanks Jun 24 '10 at 23:18
  • http://stackoverflow.com/questions/424680/trying-to-find-a-simple-way-to-do-upload-only-modified-files-through-ftp – EBAG Jun 24 '10 at 23:48

2 Answers2

1

Maybe, but why reinvent the wheel?

Unison, lftp (for FTP only) or rsync have solved these issues awhile ago.

Yann Ramin
  • 32,895
  • 3
  • 59
  • 82
0

You might want to try rsync, which comes with most Linux distributions, and for which there seems to be a Windows version: http://greenmice.info/en/node/34

Bruno
  • 119,590
  • 31
  • 270
  • 376