fix test ftp connection not show error.