Add exception handling to ftp retrieval of scanfiles.