Re: /vsicurl, curl and wget

Javier Jimenez Shaw via gdal-dev <[email protected]>
Newsgroups gmane.comp.gis.gdal.devel
Message-ID <CADRrdKtLjWUEKzsqXoB10x8E=SzWqhrVM3j4+pY_cq=kwwZVhA@mail.gmail.com>
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, <[email protected]>
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
> >> [email protected]
> >> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> > _______________________________________________
> > gdal-dev mailing list
> > [email protected]
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.