2 ms·
How are you using this data ? - are you using the file-size to detect if it's changed or to ensure you have enough disk-space, etc ?
by ig1 15y ago
How are you using this data ? - are you using the file-size to detect if it's changed or to ensure you have enough disk-space, etc ?
- SchizoDuckie 15y agoDepending on filesize and Last-Modified or Etag (which ever will be available) i'll determine wether or not the file has to be re-downloaded. Then i use (additionally) md5_file in php to see if it's changed in comparison with our last copy of the file. (This is actually part of a matroesjka doll / onion like mechanism i've built to synchronize data from our servers to mobile devices. Based on global/group/user rights. I'll be publishing a blog post on that later)
- deleted 15y ago[deleted]