modify the directory when remove ftp put data