Better ftp error accounting