Updated FTP handler