Here’s a weird one: -O can fail if the server doesn’t send a filename (like some APIs). -o always works ‘cause you force it.
Also, -J (uppercase!) pairs with -O to respect the server’s suggested filename. But that’s next-level curl flag stuff.
Also, -J (uppercase!) pairs with -O to respect the server’s suggested filename. But that’s next-level curl flag stuff.
