Changes to error checking for FTP version 1.6.4.