libcurl how to specify pathname is OS-agnostic—mostly. Forward slashes always win.
Fun fact: `file://` URLs are *supposed* to follow RFC 8089, but libcurl is lenient. Still, stick to the rules:
- `file:///path` (Unix)
- `file:///C:/path` (Windows)
If it’s failing, maybe the file’s locked or you’re missing a `/`.
Fun fact: `file://` URLs are *supposed* to follow RFC 8089, but libcurl is lenient. Still, stick to the rules:
- `file:///path` (Unix)
- `file:///C:/path` (Windows)
If it’s failing, maybe the file’s locked or you’re missing a `/`.
