tonikelope / megabasterd

Yet another unofficial (and ugly) cross-platform MEGA downloader/uploader/streaming suite.
GNU General Public License v3.0
4.61k stars 598 forks source link

there is no function to check internet connection, it keeps trying to download the file despite being offline #616

Open bsudhanva opened 10 months ago

bsudhanva commented 10 months ago

Whenever the internet gets disconnected, the program blindly keeps trying for an excessive amount of time to download the file, which sometimes causes the system to freeze. Screenshot 2023-11-20 103149

I suggest adding a line of code that checks for internet connectivity and then tries to download the file, and if offline, an error should indicate the same.

zakimimit commented 10 months ago

the same problem https://github.com/tonikelope/megabasterd/issues/614