Closed bbo2adwuff closed 3 years ago
Ah I just gave it a try with:
cloneFiles: false,
skipExistingFileName: true,
Then it works. Okay I didn't expect that.
I'll just leave this issue open and it's up to you to close it. IMHO get skipExistingFileName
working without cloneFiles
feels more intuitive or at least mentioning it in the readme.md would help.
Thank you for your input. I'll look into it
fixed in 4.7.4
Even when setting
skipExistingFileName
file gets downloaded if file with same name present indirectory
.How to reproduce
./downloads/200MB.zip
exists../downloads/200MB_2.zip
exists.Expected behavior
./downloads/200MB_2.zip
shouldn't exist.Version
nodejs-file-downloader 4.7.2 node --version v16.6.0 Archlinux 5.13.7