Deutsch   English   Fran├žais   Italiano  
<17162819-bff2-49d6-a93c-fad8f3bda9e0@20g2000yqq.googlegroups.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.glorb.com!postnews.google.com!20g2000yqq.googlegroups.com!not-for-mail
From: Andres Garcia <tclcurl@gmail.com>
Newsgroups: comp.lang.tcl
Subject: Ann TclCurl 7.22.0
Date: Mon, 3 Oct 2011 06:14:45 -0700 (PDT)
Organization: http://groups.google.com
Lines: 220
Message-ID: <17162819-bff2-49d6-a93c-fad8f3bda9e0@20g2000yqq.googlegroups.com>
NNTP-Posting-Host: 80.24.194.172
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1317647686 28066 127.0.0.1 (3 Oct 2011 13:14:46 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Oct 2011 13:14:46 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 20g2000yqq.googlegroups.com; posting-host=80.24.194.172; posting-account=3o6tQgoAAAAUsP_M0QtPK8FI5Bu0Hs4_
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17)
 Gecko/20110429 Mandriva Linux/1.9.2.17-0.1mdv2010.0 (2010.0) Firefox/3.6.17,gzip(gfe)

Hi,

I have just released a new version of TclCurl updated for libcurl
7.19.0,
with TclCurl you can download and upload files using protocols like
ftp, ftps, tftp, http, https, scp, sftp, tftp, ldap, ldaps, imap,
imaps, pop,
pops, smtp, smtps, telnet, dict and file.

This is the first release in a real long time and my programming
muscles
were pretty much atrophied to the point where I considered tagging
this
release alpha. In the end I didn't since Daniel will soon release a
new
libcurl and I can put any fixes into the corresponding TclCurl
release.

So, please handle with care and report any problems, if you reported a
problem after the last release and it hasn't been fixed, please do
tell
me again.

Please note that the site has changed it now is:

http://personal.telefonica.terra.es/web/getleft/tclcurl/index.html

The main changes since the last version are:

     * New configure options:

        * resolve: Pass a list of strings with host name resolve
information to use for
          requests with this handle.

          Each single name resolve string should be written using the
format
          HOST:PORT:ADDRESS where HOST is the name TclCurl will try to
resolve, PORT is
          the port number of the service where TclCurl wants to
connect to the HOST and
          ADDRESS is the numerical IP address. If libcurl is built to
support IPv6,
          ADDRESS can be either IPv4 or IPv6 style addressing.

        * tlsauthusername, tlsauthpassword: Pass a string with the
username or password to
          use for the TLS authentication method specified with the
'tlsauthtype' option.

        * tlsauthtype: Use it to tell TclCurl which authentication
method(s) you want it to
          use for TLS authentication. So far the only method is
'tlsauthsrp' for TLS-SRP
          authentication. Secure Remote Password authentication for
TLS is defined in
          RFC 5054 and provides mutual authentication if both sides
have a shared secret.

          You need to build libcurl with GnuTLS or OpenSSL with TLS-
SRP support for this
          to work.

        * transferencoding: Adds a request for compressed Transfer
Encoding in the outgoing
          HTTP request. If the server supports this and so desires, it
can respond with the
          HTTP resonse sent using a compressed Transfer-Encoding that
will be automatically
          uncompressed by TclCurl on receival.

          Transfer-Encoding differs slightly from the Content-Encoding
you ask for with
          'encoding' in that a Transfer-Encoding is strictly meant to
be for the transfer
           and thus MUST be decoded before the data arrives in the
client. Traditionally,
          Transfer-Encoding has been much less used and supported by
both HTTP clients and
          HTTP servers.

        * wildcard: Set this option to 1 if you want to transfer
multiple files according to
          a file name pattern. The pattern can be specified as part of
the url, using an
          fnmatch-like pattern (Shell Pattern Matching) in the last
part of URL (file name).

          So far it only works with FTP.

        * fnmatchfunction: Name of the procedure that will be called
instead of the internal
          wildcard matching function, it should match the following
prototype:

                FnMatchProc {pattern string}

          Returns '0' if it matches, '1' if it doesn't.

        * chunkbgnproc: Name of the procedure that will be called
before a file will be transfered
          by ftp, it should match the following prototype:

                ChunkBgnProc {remains}

          Where remains is the number of files still to be transfered
(or skipped)

          This callback makes sense only when using the 'wildcard'
option.

        * chunkendproc: Name of the procedure that will be called
after a file is transfered
          (or skipped) by ftp when using the wildcard option, it
should match the following
          prototype:

                ChunkEndProc {}

          It should return '0' if everyhting is fine and '1' if some
error occurred.

        * chunkbgnvar: Name of the variable in the global scope that
will contain the data of
          the file about to be transfered. If you don't use this
option '::fileData' will be used.

          The available data is: filename, filetype (file, directory,
symlink, device block,
          device char, named pipe, socket, door or error if it
couldn't be identified), time, perm,
          uid, gid, size, hardlinks and flags.

        * mailfrom: Pass a string to specify the sender address in a
mail when sending an SMTP mail
          with TclCurl.

        * mailrcpt: Pass a list of recipients to pass to the server in
your SMTP mail request.

        * ftpusepret: Set to 1 to tell TclCurl to use the EPRT (and
LPRT) command when doing
          active FTP downloads (which is enabled by 'ftpport'). Using
EPRT means that it will
          first attempt to use EPRT and then LPRT before using PORT,
if you pass zero to this
          option, it will not try using EPRT or LPRT, only plain PORT.

        * gssapidelegation: Set the option to 'flag' to allow
unconditional GSSAPI
          credential delegation. The delegation is disabled by
default. Set the parameter
          to 'policyflag' to delegate only if the OK-AS-DELEGATE flag
is set in the service
          ticket in case this feature is supported by the GSSAPI
implementation and the
          definition of GSS_C_DELEG_POLICY_FLAG was available at
compile-time.

        * telnetoptions: Pass a list with variables to pass to the
telnet negotiations.
          The variables should be in the format <option=value>.
TclCurl supports the
          options'TTYPE', 'XDISPLOC' and 'NEW_ENV'. See the TELNET
standard for details.


    * Updated configure options:

        * httpauth new method 'ntlmwb': NTLM delegating to winbind
helper. Authentication is
          performed by a separate binary application that is executed
when needed. The name
          of the application is specified at libcurl's compile time
but is typically
          /usr/bin/ntlm_auth.

========== REMAINDER OF ARTICLE TRUNCATED ==========