cURL
Your ad here would be seen by 100,000 unique vistors every month File upload component for ASP.NET
libcurl
Automatically get a mirror near you

More Internet Tools Here, Visit New Easy Freeware, Free Programs PC, Shareware Super Downloads, Printers, Coupon code, Hotel booking online, Hotel Berlin, Hotelbooking, Munich Fair Hotel, München Hotel, Iphone unlock, acai, Gian Page, Collection of Natalie, Diamond rings and Engagement Rings, Hotel Berlin, madonna lyrics, beyonce lyrics

Shopping cart software, Online file storage and sharing, Online photo storage and sharing, Online store builder, Online contact management, Online email marketing, Online project management, Online issue tracking, Online notepad, Online publishing

SourceForge.net Logo

cURL > libcurl > Tcl Binding

accessing libcurl from Tcl

We can take advantage of libcurl straight from within our Tcl programs. All you need to do is to install the TclCurl package and then you'll be able to use it.

"once you get past the badly written configure/make for the package [TclCurl], it's so darn sweet it'll give you toothache." (Phil Ehrens)

Visit the TclCurl homepage.

How to Install
Install curl and libcurl first, then follow the usual sequence:

  ./configure
  make
  make install
To test the installation do:
    $tclsh
    % package require TclCurl

If Tcl returns TclCurl's version number, all went well.

Examples

There are a couple of ways to perform a transfer with TclCurl, for simple cases you can do:

    curl::transfer -file index.html -url http://curl.haxx.se

There are more examples on the TclCurl site.

Binding documentation
Available at TclCurl's home page.

Credits
The Tcl binding is written and maintained by Andrés García.

What is Tcl?
You can find more info on the semiofficial Tcl web page.

donate! Page updated May 14, 2008.
web site info