Comments (9)
I have a problem with all my files resuming. That file was just an example to test it correctly. I think it happens in 100% of cases.
I've installed IDM and tried downloading this file. It downloaded without any problems and I could easily stop and resume download a few times.
But...
That there is still a problem with the library creating corrupted files with more MB than the original file.
from downloader.
Sure. I'm not in hurry. Take your time to improve that already awesome library! ❤️
from downloader.
Resuming now works correctly. Thanks ❤️
from downloader.
Hi @Morasiu
I can't download from your URL http://ipv4.download.thinkbroadband.com/50MB.zip
:
Does this always happen?
Do other files have this problem in downloading?
I asked this because some servers do not have the ability to resume downloading. That's why I checked with the IDM and it also couldn't download. There is another case, that I live in an area that does not have quality internet and may not be able to download.
If you can, download your file with IDM and stop and resume it to make sure this server has no case. Thank you
from downloader.
I tested your URL with a VPN and that's correct. I ran this scenario several times in my program and there was no problem and even unit tests on different servers were not a problem. I think this problem can only occur when the package file is not saved at the right time or changes after the temp files after saved. The only right time to save the package file is after the download is cancelled. Therefore, if the values stored in the files do not match the package values, the downloader will start downloading from the begging.
Now, make sure that the package is saved right after the download is cancelled, which is the best place to make sure the inside is the DownloadFileCompleted
events.
from downloader.
So... I'm writing an application that can download large files over not so stable connections. Can I use that feature of the library to resume downloading after someone computer shutdown unexpectedly or after their lost connection to the internet (I guess then event DownloadFileCompleted
with some errors is fired?
Also, I'm not sure if I understand correctly. Can I save the package at any moment or not? If not how can I be sure, when to save the package? I'm currently saving a package every 10s of download using the DownloadProgress
event.
from downloader.
I think it's still a bug if DonwloaderService
is appending data over total bytes in the downloaded temp file.
from downloader.
Yes, this is a bug in appending data to the same temp files after restarting the download. But if you store the Package file after the cancelled event this problem not occur.
Let me find a way to save the package file whenever you want and resume whenever you want. Because for this scenario, only this method can work. Give me some time to implement this feature.
from downloader.
@Morasiu Please test the new version 2.2.8 for this problem. Thanks
from downloader.
Related Issues (20)
- Using in .Net Maui App HOT 1
- Callback error occurred when using version 3.0.4 HOT 7
- The calling thread cannot access this object because another thread owns it HOT 1
- ExceptionHelper.CertificateValidationCallBack() is never called when compiling for android HOT 3
- Chunk displaying no progress yet still downloads. HOT 1
- No error when server responds with 404 HOT 1
- Occasional resume error and inaccurate download progress HOT 2
- Whether the download can be resumed from where the last download was not completed HOT 3
- ipv6 Download error the ssl connection could not be established, see inner exception HOT 2
- RobiniaDocs API Explorer
- how to download stream or api link?
- Large file download blocks other download tasks. HOT 3
- Attempting to download the same file to the local directory with same name doesnt overwrite/replace HOT 2
- Downloader support socks5 proxy HOT 3
- getting error when download completed! HOT 11
- The 67th Line in this file“Downloader/src/Downloader /ChunkDownloader.cs ” is not need HOT 1
- The CancelTaskAsync interface of IDownloadService causes the program to freeze. HOT 1
- Inquiry Regarding Repository Usage for Efficient Download of Small Files in .NET HOT 1
- I need to implement happy eyeballs for IPV4 IPV6 dual stack protocol HOT 2
- Resume download after restart program
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from downloader.