- %03u is a minimum width, not a maximum: a series of more than 999 chunks
worked before and is accepted again. With the default chunk size of
500kB, the limit refused any file larger than 488MB.
- fwrite() must write the whole chunk: since the checksum is computed on
the data read, a partial write (disk full) would go unnoticed. fflush()
and fclose() are checked too.
- glob() may return false: no warning in front of the JSON response.
Related to #2583
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vty6FTwtZ3ezEncagFo2FQ