Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
loeg
1y ago
0 comments
Share
Browsers typically emit downloads to temporary files until they are complete, then rename them into the final location, to prevent this kind of issue.
0 comments
default
newest
oldest
kevincox
1y ago
Tools like wget or curl often do not. And the shell doesn't when doing something like `curl ... >myscript.sh`.
loeg
OP
1y ago
Sure. Just pointing out that there's a good reason browsers do this.
j
/
k
navigate · click thread line to collapse