FTP Synchronisation

The the FTP Sync button is pressed on the FTP menu, the demo connects to the remote FTP server and performs the synchronisation routine. It works by storing the contents of the remote server and the contents of the local directory to two local text files at the end of a synchronisation. When the actual files have changed since it last synchronised the demo can build up an action list on whether a file was removed, added or modified.

If a file on both the server and the local drive were modified, the demo can be configured to either have the device take priority, the FTP server take priority or the newest file take priority.

Pressing the Close button returns to the FTP menu.