arvryna / blazer

concurrent file downloader
Apache License 2.0
16 stars 3 forks source link

Check the available system space before starting the download. #32

Open setraj opened 3 years ago

setraj commented 3 years ago

Probably, prompt the user with available space and confirm to go ahead with the download or not.

arvryna commented 3 years ago

Yes good, can we show this prompt if there will be less space ? I haven't seen other downloaders like wget and curl asking for every download

setraj commented 3 years ago

Say, the file size is 5Gb and the available space is 2.5 Gb. do we want to stop the download in between? wouldn't it be better to prompt the user beforehand?

arvryna commented 3 years ago

@setraj Yes, we are in the same agreement basically, I was talking about this case:

the required size is already there in the disk, should we still prompt ? or go ahead ?

setraj commented 3 years ago

ok, I get you. Yeah in that case we can silently proceed with the download. in case the space is not sufficient, we can notify the user that the download can't be continued because of insufficient space.

arvryna commented 3 years ago

ok please proceed implementation

On Sat, Aug 7, 2021, 13:25 Rajesh Sethi @.***> wrote:

ok, I get you. Yeah in that case we can silently proceed with the download. in case the space is not sufficient, we can notify the user that the download can't be continued because of insufficient space.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arvyshka/blazer/issues/32#issuecomment-894636073, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBFCKJWWPTESQE4KG7Z45TT3UCY5ANCNFSM5BVM4R3A .