Version 3 of Package Downloads Client

Updated 2016-11-09 19:40:20 by mistachkin

Part of the Package Client Toolset .

The Package Downloads Client is not typically invoked directly; instead, it is (optionally) used by the scripts fetched from the Package Repository Server in order to download package files in a secure and orderly manner.

Here is an example of this usage:

apply [list [list] {
  package require Eagle.Package.Downloader

  ::PackageDownloader::resetCookieAndLoginSimple

  set fileNames [list]

  lappend fileNames [file join tcllib1.15 aes aes.tcl]
  lappend fileNames [file join tcllib1.15 aes pkgIndex.tcl]

  set options [list \
      -persistent false -usePgp true -useAutoPath true]

  ::PackageDownloader::downloadFiles tcl 8.4 "" $fileNames $options
  ::PackageDownloader::logoutAndResetCookie
}]

See also Package Repository Client.

More details to follow.