Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: read-thru check refinement

From: carl:cybercraft at: 22-Jul-2001 17:42

Thanks Larry. Yes, that works, though I was sure I'd tried it. Still, it doesn't explain why we have to supply the date and time since they must be with the already downloaded file, right? And what's the point of supplying a logic or none? All very confusing... (: On 22-Jul-01, Larry Palmiter wrote:
> Hi Carl > The block is the standard info block for a file item in an index > file: > [971 23-Sep-2000/16:51:34-7:00] > It contains the size in bytes and the time-stamp. Read-thru/check > will not download a file if it is already in the cache and the date > and time-stamp match those on the remote file. > Cheers > -Larry > ----- Original Message ----- > From: "Carl Read" <[carl--cybercraft--co--nz]> > To: <[rebol-list--rebol--com]> > Sent: Saturday, July 21, 2001 8:11 PM > Subject: [REBOL] read-thru check refinement >> 'read-thru has a 'check refinement for updating a file only if its >> date or size has changed. This requires an extra value of either a >> block, logic or none. What should the block contain? As trying >> read-thru/check using true, false or none makes no difference - the >> file is never updated regardless. >> >> -- >> Carl Read >> [carl--cybercraft--co--nz]
-- Carl Read [carl--cybercraft--co--nz]