Server : fix commands and file synchronization end