Fix FTP plugin issues