Removing unused Net::FTP module and adding error handling for request statement