mirror of
https://github.com/rclone/rclone.git
synced 2026-05-12 10:03:35 -04:00
When an HTTP URL points to a single file, listing the parent directory is unnecessary and may fail entirely on servers that disable directory listings but still serve HEAD/GET on the file. Remember the file name in the Fs and short-circuit List to return just that one object. See: https://forum.rclone.org/t/how-to-combine-on-the-fly-http-archive-remote-to-list-crc32s-in-a-http-hosted-zip/53761