Page 9 of 9

Re: libcurl.pbi

Posted: Thu Feb 20, 2025 10:47 am
by Kukulkan
Looks like curl_mime_data_cb() (link) and a matching callback reader are missing? How do you guys send emails with attachments from memory then? I don't like to save the file first to later use curl_mime_filedata() and then wipe it.

Anyone already implemented that?

UPDATE:
I added the declarations by myself. Never mind.

Re: libcurl.pbi

Posted: Thu Feb 20, 2025 10:05 pm
by infratec
Updated libcurl to 8.12.1

Added example EMailWithFileAttachmentFromMemory.pb

Re: libcurl.pbi

Posted: Fri Feb 21, 2025 8:11 am
by Kukulkan
Thank you! :D

Re: libcurl.pbi

Posted: Mon Apr 21, 2025 10:28 am
by infratec
Updated libcurl to 8.13.0

Added websocket procedures and an example:

WSS_simple_echo.pb

WebSocket client is only possible with

Code: Select all

#LibCurl_ExternalDLL = #True
XIncludeFile "libcurl.pbi"
https://curl.se/libcurl/c/libcurl-ws.html

Re: libcurl.pbi

Posted: Mon Apr 21, 2025 12:55 pm
by Quin
Incredibly cool, thanks for sharing as always!

Re: libcurl.pbi

Posted: Wed Apr 23, 2025 8:56 pm
by infratec
Fixed a bug in FTPS_dir.pb:

If the directory is empty, an IMA at address 0 happened.

Libcurl never enters the write function and so no memory was allocated.
The memory is checked now.

Re: libcurl.pbi

Posted: Wed Apr 23, 2025 10:04 pm
by Quin
Bug fix confirmed, thanks Infratec!
Thanks so much for all your libcurl work, I use it in all my applications now, one of them over 10K LOC, and it works amazingly.

Re: libcurl.pbi

Posted: Thu Apr 24, 2025 6:59 pm
by infratec
@Quin: Thank you for your kind words.

Fixed a bug in the example DownloadProgress.pb
I missed a CloseFile() in the DownLoadWithXferInfo() procedure.
Thanks to Wolfram, this is fixed now.

Re: libcurl.pbi

Posted: Sat Jun 28, 2025 9:40 am
by infratec
Updated libcurl to 8.14.1

Re: libcurl.pbi

Posted: Mon Jul 14, 2025 7:19 pm
by infratec
Added examples:

FTP_mkdir.pb
FTP_rmdir.pb

Re: libcurl.pbi

Posted: Sat Aug 02, 2025 9:36 am
by infratec
Updated libcurl to 8.15.0

Re: libcurl.pbi

Posted: Sat Aug 02, 2025 1:16 pm
by Quin
Woot, thanks!