fix ftp sync