ftpclient-cpp icon indicating copy to clipboard operation
ftpclient-cpp copied to clipboard

which curl version need to use?

Open lemon19900815 opened this issue 1 year ago • 2 comments

hi, embeddedmz! thank for share the great proj, i want to know which curl version is to used, i test the newest curl version 8.4.0, but the DownloadWildcard failed and some compile warning. and I use the lib on ubuntu 20.04 in virtual machine, the memory usage will increasing to 30%(memory leak?), i don't known how to do? Have you encountered similar problems?but the same code on windows, every thing is ok. expect your reply.

lemon19900815 avatar Nov 15 '23 08:11 lemon19900815

Hi @lemon19900815

I don't really have a version to recommend other than the latest.

You'll need to debug the code with a development environment like Qt on Linux and see why the DownloadWildcard method fails.

To check for memory leaks, run a compiled program in debug mode with valgrind and check whether it has detected any leaks.

Regards.

embeddedmz avatar Nov 15 '23 11:11 embeddedmz

Thanks for your prompt reply! I tried the valgrind tool firstly, but it's not give me useful suggestion. Now, I used the curl version is 7.88.1, and the interface of the repository is ok. I carely analysis my code, I think it's maybe not a memory leak!

lemon19900815 avatar Nov 16 '23 02:11 lemon19900815