Seen one or two users on Discord reporting loom only downloading parts of the file, I think this is quite rare. This change should protect against failed or cancled downloads by ensuring that the output file only exists in its final state.
Download the file initially to a <filename>.part file
Once the file has been fully written, create a hard link to the destination file.
And then remove the part file, this ensures that the output file only exists in fully populated state.
Seen one or two users on Discord reporting loom only downloading parts of the file, I think this is quite rare. This change should protect against failed or cancled downloads by ensuring that the output file only exists in its final state.
<filename>.part
file