Topic: Is it possible to download an image using WinHTTPReq?
Hello,
I was trying to download a file from a website mobygames using HTTPGet or HTTPGetFiles however it gives me an error (see error below) which I suspect maybe it's because the DLL's (libssl32 and libeay32) are too old (version 1.0.2)? - oddly it doesn't happen with other sites I tested.
So I opted to using WinHTTPReq that I found people suggest while searching the forum and it works without any issues for HTML pages but I am unsure how to download an image or any kind of a binary file (I tried adding an example link but the forum won't let me).
Can anyone please advise as to how to achieve it? (if it's even possible).
Any input would be highly appreciated and thank you in advance!
Update: I see that the attachment wasn't added so what the error says is:
Error connecting with SSL.
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number