core icon indicating copy to clipboard operation
core copied to clipboard

Avoid resmgr download creating zero-sized files when download fails

Open kba opened this issue 1 year ago • 0 comments
trafficstars

When a download with ocrd resmgr download fails, e.g. due to a connectivity/proxy issue, the target file is still created, which leads to all kinds of problematic behavior. When a download fails, no file should be created and/or an(y) zero-byte file(s) should be removed.

kba avatar Mar 13 '24 12:03 kba