[ftp] fixes