Curl’s `-O` uses the URL’s last segment as the filename, which might not match the actual file. For the real name, use `-OJ` like someone said, or inspect the headers with `-v` to see what’s coming.
Pro tip: `wget` is simpler for downloads if curl’s being fussy. Just `wget [URL]` and it usually works.
Pro tip: `wget` is simpler for downloads if curl’s being fussy. Just `wget [URL]` and it usually works.
