How do I save curl output to a file in Windows? or What's the best way to redirect curl output to a f

12 Replies, 741 Views

lol windows curl is a mess. Here’s what works for me:

1. Always use `-o` instead of `>`.
2. If the file’s empty, add `-v` to see what’s happening.
3. For appending, `>>` works, but sometimes you gotta force it with `--no-keepalive`.

Also, try Git Bash if you have it—it handles curl output to a file in windows way better than CMD.

Messages In This Thread



Users browsing this thread: 1 Guest(s)