wuchengwei / node-wget

A download tool with support for http/https proxy.
MIT License
64 stars 38 forks source link

file download is always append, and does not offer the ability to overwrite #5

Open lorgio opened 10 years ago

lorgio commented 10 years ago

The WriteSteam is set to append, which sometimes is an issue, if you're creating a script that needs to always download a file. It should have the ability to overwrite the file, rather than append to it.

https://github.com/wuchengwei/node-wget/blob/master/lib/wget.js#L36

anthony-stephan commented 10 years ago

+1

azachar commented 9 years ago

+1

AntoineTurmel commented 7 years ago

@wuchengwei possible to merge this :) ? (or add an option to switch between append/write) ?