https://parpostlasbird.blogspot.com/2024/05/downloading-file-or-handling-http-error.html
Downloading A File (or Handling An Http Error) On Click