How do I specify a pathname in libcurl? (libcurl how to specify pathname) or libcurl how to specify p

20 Replies, 1098 Views

OP here—thanks for all the replies! Turns out I was missing the third slash *and* had a typo in the path. 🤦‍♂️

`file:///C:/stuff/test.txt` worked once I fixed it.

Follow-up Q: Does libcurl how to specify pathname change if I’m using FTP? Like, does it still need forward slashes?

(Also, `CURLOPT_VERBOSE` was a lifesaver—thanks for that tip!)

Messages In This Thread



Users browsing this thread: 1 Guest(s)