On Mon, Feb 13, 2012 at 03:05, Randy Merrill <[email protected]> wrote: > I am working on building an application that periodically reads in files > that are several gigabytes in size. > > I would like to make it so that I can poll the remote server and just get > the date the file was modified (or cached until, not sure what metric is > available). > > Is there a way to check that information without downloading the entire file > in Node?
Read up on the If-Modified-Since and If-None-Match HTTP headers. That's assuming you use HTTP, of course. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
