Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
778 days ago
Browsers typically emit downloads to temporary files until they are complete, then rename them into the final location, to prevent this kind of issue.
1 comments
kevincox
777 days ago
Tools like wget or curl often do not. And the shell doesn't when doing something like `curl ... >myscript.sh`.
link
loeg
777 days ago
Sure. Just pointing out that there's a good reason browsers do this.
link