Coder Social home page Coder Social logo

tclcurl-fa's Introduction

Linux CI Mac CI Windows CI

TclCurl - get a URL with FTP, TELNET, LDAP, DICT, FILE, HTTP or HTTPS syntax.

Introduction

TclCurl gives the Tcl programmer access to the facilities of libcurl. For more information about what libcurl is capable of check https://curl.se/

To make type:

  ./configure ?--enable-threads?
  make
  make install

The configure script will deduce $PREFIX from the tcl installation. The generated Makefile uses the file $PREFIX/lib/tclConfig.sh that was left by the make of tcl for most of its configuration parameters.

There is another file, ReadMeW32.txt, to explain how to compile in Windows.

Troubleshooting

If you are running Red Hat or Fedora and you are compiling from source, make sure the directory /usr/local/lib is listed in /etc/ld.so.conf, if it isn't add it before installing cURL.

If the configure script doesn't detect Tcl even though it is there, it is probably because there is no tclConfig.sh file, maybe you need to install a tcl-devel package or maybe it would be a good idea to download the latest version, and install that.

Usage

package require TclCurl

set curlHandle [curl::init]

$curlHandle perform

$curlHandle getinfo curlinfo_option

$curlHandle duphandle

$curlHandle cleanup

curl::transfer

curl::version

curl::escape $url

curl::unescape $url

curl::curlConfig option

Check the man page for details.

Authors

Originally written by: Andres Garcia ([email protected])

Cloned from a repo by Steve Havelka once at: https://bitbucket.org/smh377/tclcurl/

License

Use at your own risk. No support. BSD like license, check 'license.terms' for details.

tclcurl-fa's People

Contributors

bovine avatar apnadkarni avatar mxmanghi avatar scorriere avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.