Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
loeg
2y ago
0 comments
Save
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
2 comments · 1 top-level
top
newest
oldest
kevincox
2y ago
· 1 in thread
Tools like wget or curl often do not. And the shell doesn't when doing something like `curl ... >myscript.sh`.
loeg
OP
2y ago
Sure. Just pointing out that there's a good reason browsers do this.
j
/
k
navigate · click thread line to collapse