I'd be quite surprised if GDAL's vsicurl was able to understand a directory 
index.

Take https://cscie12.dce.harvard.edu/apache/autoindex/, for example, it's clear 
that's a directory with 7 files, but it also has a bunch of column sorting 
links you'd want to ignore.

To be fair, there aren't that many directory index formats, but I'm not sure 
that parsing them is a job for GDAL.

Laurentiu

On Tue, Oct 28, 2025, at 18:28, Scott via gdal-dev wrote:
> Using list with /vsicurl only returns results if I specify a file. No 
> results when specifying a directory. /vsis3 works as expected. Am I 
> doing this correctly?
>
> Works:
> gdal vsi list -lR 
> "/vsicurl/https://cdn.star.nesdis.noaa.gov/GOES18/ABI/MESO/M1/GEOCOLOR/2025292000425_GOES18-ABI-MESO-GEOCOLOR-39N-119W-1000x1000.jpg";
>
> No workee:
> gdal vsi list -lR 
> "/vsicurl/https://cdn.star.nesdis.noaa.gov/GOES18/ABI/MESO/M1/GEOCOLOR/";
>
> /vsicurl_streaming only returns directory name:
> gdal vsi list -lR 
> "/vsicurl_streaming/https://cdn.star.nesdis.noaa.gov/GOES18/ABI/MESO/M1/GEOCOLOR/";
>
> --depth has no effect.
>
> Debian 12/GDAL 3.12.0beta1
>
> 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

Reply via email to