Check status code when we download the file