ralscha / hibp-passwords-downloader

HIBP passwords downloader in Go
MIT License
1 stars 0 forks source link

-s not working #1

Closed slicken closed 1 month ago

slicken commented 1 year ago

hi,

the single file option is not working. it downloads the passwords in a directory and saves them in many files as it do without the -s option. otherwise its working nicely

ralscha commented 1 year ago

Hi. Yes. That's the idea. It should first download the passwords into multiple files and at the end it should merge them into one file and delete the individual files. This way the program is able to resume the download if it crashes or it looses connection to the internet.

I need to test it today. Maybe the merge at the end does not work.

ralscha commented 1 year ago

Tested it. The merge does work. But the resume did not work for single file. I created a new release (0.2.0).

Like before the -s downloads the individual files. It stores them in the .hibp_ folder and at the end it merges them together into and deletes the temporary folder

./hibp-passwords-downloader -s single

When the download fails resume it with

./hibp-passwords-downloader -s single -r
slicken commented 1 month ago

closing