libcURL for RealBasic

This project implements a subset of the libcURL function calls in the form of two classes, curluploader and curldownloader. It also includes examples for using both.

Download|GPG Sig (?)

License:CC-BY-SA Language: RealBasic
Platform(s): Win32/Linux+GTK/Mac OSX
How To Open 7-Zip Files

 

Webmasters: Please Link To This Page, Not To The File Itself.


libcURL for RealBasic allows RealBasic developers to use the curl_easy* class of functions provided by libcURL. This project, as it stands, is not suitable for multiple simultaneous download or upload tasks.

Refer to the examples in the project file for usage instructions.

Language

This project was written using the RealBasic programming language. A current Realbasic IDE must be used to properly read and build the project.

Platforms 

The project should compile and work on Win32, Linux+GTK, and Mac OSX. Testing has only been performed under Win32. This project, obviously, requires the libcURL library and its supporting libraries. Windows DLLs have been included in the download; Mac and Linux usually already have them installed.

Important Caveat

The curl_easy* functions are blocking functions. As such, a Realbasic application which calls these functions will stop responding until libcURL returns. Bear this in mind if you expect to be transferring large files.


Usage Permissions

This project may be used in any other program provided credit is given in compliance with the CC-BY-SA 3.0 or, at your option, any later version of that license.

Notes

This thing barely works and you can see the chewing gum and bailing wire sticking out. Any improvements/patches/suggestions would be more than welcome.

 

Write a comment

  • Required fields are marked with *.
  • All comments must be approved before they get published

admin
Posts: 1
Comment
Re: Problem with large files
Reply #2 on : Fri January 20, 2012, 17:29:31
prakash, as it states above under Important Caveat:

The curl_easy* functions are blocking functions. As such, a Realbasic application which calls these functions will stop responding until libcURL returns. Bear this in mind if you expect to be transferring large files.

You can force your app to respond by calling App.DoEvents from the progress callback, but that's not recommended by Real Software or by me.
Last Edit: January 20, 2012, 17:30:15 by admin  
prakash
Posts: 1
Comment
Problem with large files
Reply #1 on : Fri January 13, 2012, 09:14:59
Hi,

I am trying to download a large file from a Ftp Server(File size is 11 MB) and attached a progress bar while downloading the files. After that it is showing a message in the top of the header of the app like " Not Responding" but for a small file it is working fine. Can you please let me know how to fix this issue ?

If any new update is there please let me know.