Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
setraj opened this issue Aug 6, 2021 · 5 comments
Open

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

setraj opened this issue Aug 6, 2021 · 5 comments

Comments

@setraj
Copy link
Collaborator

setraj commented Aug 6, 2021

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

@arvryna
Copy link
Owner

arvryna commented Aug 6, 2021

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
Copy link
Collaborator Author

setraj commented Aug 6, 2021

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
Copy link
Owner

arvryna commented Aug 6, 2021

@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
Copy link
Collaborator Author

setraj commented Aug 7, 2021

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
Copy link
Owner

arvryna commented Aug 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants