Implement ftp sync protocol.
TODO - preserve timestamp (I had some problems with it so I will look later to it)