Re: time to remove Visual Studio project files?

2020-09-07 Thread Tomas Berger via curl-library
> 5) It's easy to automatically patch the XML project files to compile with all warnings enabled (/Wall, corresponds to clang's -Weverything) and only the expected warnings disabled as they are per Visual Studio version I could live with /W4 though. In CMake you should be able to do: `set(CMAKE_CX

Continue Download C++ Implementation

2020-12-08 Thread Tomas Berger via curl-library
I have been trying to be able to continue a download from a half finished state, my write function is rather simple, but I have a couple of couts. The idea is to download to a temporary file, and when the download is complete copy, and remove the tempfile Relying on CURLOPT_RESUME_FROM_LARGE to h

Re: Continue Download C++ Implementation

2020-12-09 Thread Tomas Berger via curl-library
//link.getmailspring.com/link/7d8f25c6-cd44-4182-b10e-9cd844857...@getmailspring.com/0?redirect=mailto%3Atogtja%40gmail.com&recipient=Y3VybC1saWJyYXJ5QGNvb2wuaGF4eC5zZQ%3D%3D) On Dec 8 2020, at 5:13 pm, Tomalak Geret'kal via curl-library wrote: > > On 08/12/2020 15:49, Tomas Berger via curl-library wrote: > &

Re: Continue Download C++ Implementation

2020-12-09 Thread Tomas Berger via curl-library
;ll do some own research in to continuing to write to files in C++, but > gladly respond, if you know what is wrong. > > Thank you both for the great debug tips! Completely forgot about > hexdump/binary compare! > Tomas Berger > tog...@gmail.com > (https://link.getmailspring.com/link/ee9204

TFTP get filesize/file exist

2021-03-24 Thread Tomas Berger via curl-library
I have been trying to create a function that returns true if a file exists or not on a TFTP server. I had a function for this for SFTP/FTP using CURLOPT_NOBODY, and that has been for those protocols. However, did not work for TFTP. I have managed to make a function that checks if a file exists on a