Skip to content
libcurl for Clarion
Branch: master
Clone or download
Latest commit 8ec434f Jan 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin v1.42 Jan 22, 2019
bin_v_7.40 v7.40 binaries Apr 2, 2017
bin_v_7.52.1 v1.34 Sep 1, 2018
doc v1.16 legacy template chain fix Jul 11, 2017
examples v1.42 Jan 22, 2019
history v1.42 Jan 22, 2019
lib v1.42 Jan 22, 2019
libsrc v1.42 Jan 22, 2019
template v1.42 Jan 22, 2019
README.md v1.42 Jan 22, 2019

README.md

libcurl

libcurl for Clarion

Required C6.3 and newer.

libcurl home page
FAQ
Full version history
Clarion 6.3 examples. Last update 2018-12-16.

How to install

Hit the 'Clone or Download' button and select 'Download Zip'. Now unzip libcurl-master.zip into a temporary folder somewhere.

Copy the contents of...

Bin into %ClarionRoot%\Accessory\bin
Lib into %ClarionRoot%\Accessory\lib
Libsrc into %ClarionRoot%\Accessory\libsrc\win
Template into %ClarionRoot%\Accessory\template\win

Where %ClarionRoot% is the folder into which you installed Clarion 10.

Now, with no APPs or DCTs loaded in the Clarion IDE, register the libcurl template by selecting... Clarion main menu - Tools - 'Edit Template Registry' - click on 'Register' and use the dialog to navigate to %ClarionRoot%\Accessory\template\win and double-click on libcurl.tpl and click 'Open'.

You should see 'Class LibcurlTpl - Libcurl template' and the LibcurlGloExt and LibcurlLocExt templates are now in the list. Click on the Save icon 'floppy disk' and the Green arrow to close.

Recent changes

v1.42

  • CHG: Now uses libcurl v7.63.0, see changelog for details.

curl 7.63.0 was built and statically linked with

  • OpenSSL 1.1.1a
  • brotli 1.0.7
  • libssh2 1.8.0
  • nghttp2 1.35.1
  • zlib 1.2.11
  • NEW: TCurlUrlApiClass supports new URL API.
  • NEW: URL API example.

v1.41

  • NEW: CURLOPT_FILETIME, CURLOPT_FILE, CURLOPT_INFILE, CURLOPT_WRITEHEADER options.
  • FIX: TCurlClass.GetInfo::DOUBLE() method called curl_easy_getinfo() with wrong parameters.

v1.40

  • NEW: added 2 options CURLOPT_NEW_FILE_PERMS and CURLOPT_NEW_DIRECTORY_PERMS:
Permission used when creating new files and directories on the remote server for protocols that support it, SFTP/SCP/FILE

v1.39

  • CHG: Now uses libcurl v7.61.1, see changelog for details.

curl 7.61.1_8 was built and statically linked with

  • OpenSSL 1.1.1
  • brotli 1.0.7
  • libssh2 1.8.0
  • nghttp2 1.34.0
  • zlib 1.2.11

v1.38

  • CHG: TCurlFtpClass uses 'ftp' default protocol; TCurlMailClass uses 'smtp' default protocol.
  • FIX: possible memory leak in TCurlFtpClass and TCurlDropboxClass.

v1.37

  • CHG: TCurlFtpClass: PublicKeyMD5 field was added to TSSHSettings group
TSSHSettings                  GROUP, TYPE, PRE(TSSHSettings)
AuthMethod                      CURLSSH_AUTH_ENUM     !allowed SSH authentication methods
PublicKeyFile                   STRING(256)           !Used by scp/sftp to do public/private key authentication
PrivateKeyFile                  STRING(256)           !Used by scp/sftp to do public/private key authentication
KnownHosts                      STRING(256)           !set the SSH knownhost file name to use
KeyPassword                     STRING(40)            !password for the SSL or SSH private key
PublicKeyMD5                    STRING(32)            !used by scp/sftp to verify the host's public key
                              END

v1.36

  • NEW: curl::StrError(CURLcode errcode) static function returns meaningful error message.
  • FIX: TCurlMimeClass.SetDataCB(part,hugedata,TRUE) did not dispose allocated memory for hugedata.
  • CHG: TCurlMailClass now internally uses curl mime api.
  • CHG: TCurlMailClass allows both '\' and '/' in attached file names.

v1.35

  • NEW: TCurlMimeClass.SetDataCB method sets a callback-based data source for a mime part's body.
  • CHG: MimePost example now demonstrates both SetData and SetDataCB approaches.

Full version history

You can’t perform that action at this time.