[gdal-dev] /vsicurl, curl and wget
Javier Jimenez Shaw
j1 at jimenezshaw.com
Sat Apr 25 09:45:04 PDT 2026
What I don't understand is why it works with wget but not with curl
(independently of GDAL). I tried it in my Ubuntu and it happens as well.
There is probably something "picky" in that server, but what? I tried with
a different user agent, but no change.
If you find out the reason, please tell us.
On Sat, 25 Apr 2026, 18:18 Scott via gdal-dev, <gdal-dev at lists.osgeo.org>
wrote:
> So, it works on Amazon Linux 2
> gdal 3.13.0, curl 8.3.0
>
> But not Debian 12
> gdal 3.13.0, curl 7.88.1
>
> The 403, if the one machine was blocked (why would it), wget shouldn't
> work, but it does.
>
> On 4/25/26 01:27, Laurențiu Nicola via gdal-dev wrote:
> > gdal vector info /vsizip/vsicurl/
> https://www.fema.gov/about/reports-and-data/openfema/cl2024_v1.gdb.zip
> works for me (GDAL 3.12.3), but takes a couple of minutes, because ZIP
> isn't great at random access. I actually cancelled it after it printed the
> name of the third layer.
> >
> > HTTP 403 is "Forbidden", which is.. interesting.
> >
> > Laurentiu
> >
> > On Sat, Apr 25, 2026, at 04:52, Scott via gdal-dev wrote:
> >> Greetings!
> >>
> >> I'm having issues with a remote file. The following do not work:
> >>
> >> gdal vsi copy
> >> https://www.fema.gov/about/reports-and-data/openfema/cl2024_v1.gdb.zip
> .
> >> gdal vector info
> >> /vsizip/vsicurl/
> https://www.fema.gov/about/reports-and-data/openfema/cl2024_v1.gdb.zip
> >> curl
> >> https://www.fema.gov/about/reports-and-data/openfema/cl2024_v1.gdb.zip
> >> -o stf.gdb.zip
> >>
> >> All result in a 403, since they're dependent on curl.
> >>
> >> However, the following 'wget' works fine:
> >>
> >> wget
> https://www.fema.gov/about/reports-and-data/openfema/cl2024_v1.gdb.zip
> >>
> >> Has anyone encountered this before? What am I missing?
> >>
> >> Thanks!
> >> Scott
> >>
> >> --
> >> www.postholer.com
> >>
> >> _______________________________________________
> >> gdal-dev mailing list
> >> gdal-dev at lists.osgeo.org
> >> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20260425/54562274/attachment-0001.htm>
More information about the gdal-dev
mailing list