You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the parquet data files will be downloaded. The files were downloaded, but after downloading the last file from the remote directory, the download didn't stop. Instead, the download continued with the first file in the directory.
When I changed the option curl_easy_setopt(handle, CURLOPT_WILDCARDMATCH, 1L); to curl_easy_setopt(handle, CURLOPT_WILDCARDMATCH, 0L); and replaced the wildcard in URL with full name of a single file, the single file was downloaded as expected.
curl/libcurl version
curl 8.2.1
operating system
Windows 11 Pro
Using MS VC++ 2022, std::c++20
The text was updated successfully, but these errors were encountered:
I can reproduce this on git HEAD. It continuously downloads all matching files; when it gets to the end of the wildcards, it starts over again. I've turned the code above into a self-sufficient reproduction example that shows it. In ver. 7.74.0 it runs through files once then stops, and in 8.4.1-dev it loops forever (or, at least a few times before I get bored and stop it).
To avoid the state machine to start over and redownload all the files
*again*.
Reported-by: lkordos on github
Regression from 843b3ba (shipped in 8.1.0)
Bisect-by: Dan Fandrich
Fixes#11775
I did this
I run the code:
I expected the following
I expected the parquet data files will be downloaded. The files were downloaded, but after downloading the last file from the remote directory, the download didn't stop. Instead, the download continued with the first file in the directory.
When I changed the option
curl_easy_setopt(handle, CURLOPT_WILDCARDMATCH, 1L);
tocurl_easy_setopt(handle, CURLOPT_WILDCARDMATCH, 0L);
and replaced the wildcard in URL with full name of a single file, the single file was downloaded as expected.curl/libcurl version
curl 8.2.1
operating system
Windows 11 Pro
Using MS VC++ 2022, std::c++20
The text was updated successfully, but these errors were encountered: