fix ftp directories