Rebol Programming/read-thru

= USAGE: = READ-THRU url /progress callback /update /expand /check info /to local-file

= DESCRIPTION: = Read a net file from thru the disk cache. Returns binary, else none on error.

READ-THRU is a function value. = ARGUMENTS =
 * url -- (Type: url file)

= REFINEMENTS =
 * /progress
 * callback -- Call func [total bytes] during transfer. Return true. (Type: any)
 * /update -- Force update from source site
 * /expand -- Auto-decompress after transfer.
 * /check -- Update only if version, checksum/secure, or date/size do not match.
 * info -- (Type: any)
 * /to -- Specify a file target, not cache.
 * local-file -- (Type: file none)

= SOURCE CODE = read-thru: func [ {Read a net file from thru the disk cache. Returns binary, else none on error.} url [url! file!] /progress callback {Call func [total bytes] during transfer. Return true.} /update "Force update from source site" /expand "Auto-decompress after transfer." /check {Update only if version, checksum/secure, or date/size do not match.} info /to "Specify a file target, not cache." local-file [file! none!] /local file data purl loc-path ]