Skip to content

CURLOPT_WILDCARDMATCH with CURLOPT_CHUNK_BGN_FUNCTION: curl_fileinfo->time == 0 #3829

Closed
@JCMais

Description

@JCMais

I did this

Used libcurl with CURLOPT_WILDCARDMATCH set to true and set a CURLOPT_CHUNK_BGN_FUNCTION callback.

The curl_fileinfo argument received has time member set to 0

I expected the following

curl_fileinfo time to be set to the unix timestamp of the file.

This can be tested with this url: ftp://ftp.rz.uni-wuerzburg.de/*

curl/libcurl version

curl 7.64.1 (x86_64-pc-linux-gnu) libcurl/7.64.1 OpenSSL/1.1.0i zlib/1.2.11 libidn2/2.1.1 libssh2/1.8.2 nghttp2/1.32.0
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB SPNEGO SSL TLS-SRP UnixSockets

operating system

Linux (Ubuntu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions