curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: file directory problem in curl command

From: Paul Gilmartin via curl-users <curl-users_at_cool.haxx.se>
Date: Mon, 23 Aug 2021 12:44:18 -0600

On Aug 23, 2021, at 11:49:21, Bill Mercer wrote:
>
> curl --form "E:/NC Voter Files/address/NCaddresses1.csv" --form benchmark=2020 --url <https://geocoding.geo.census.gov/geocoder/geographies/addressbatch> --output geocoderesult.csv
> …
> The filename, directory name, or volume label syntax is incorrect.
>
> Right off the bat I see what looks like a Windows file path with forward slashes instead of backslashes.
> Start with that.
>
That's proper for HTTPS URLs. See RFC 1738.

Trimming the last qualifier to:
    <https://www.census.gov/programs-surveys/economic-census.html>
results in a valid URL.

There's a large "content-security-policy:" header. What's that supposed to do?
-- gil


-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-08-23