wuchengwei / node-wget

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

fixes #5 uses write instead of append flag #6

Open maxkueng opened 10 years ago

maxkueng commented 10 years ago

the module currently appends the downloaded content if a file with the same path already exists. This is usually not what you want. So I've changed the flag for the writeStream to w.

Pixcell commented 9 years ago

Hello, since your pull request isn't accepted, I forked the repo and applied your change : you can find the module there : https://github.com/Pixcell/node-wget. npm instal git+https://github.com/Pixcell/node-wget.git