bezzad / Downloader

Fast, cross-platform and reliable multipart downloader with asynchronous progress events for .NET applications.
MIT License
1.25k stars 193 forks source link

getting error when download completed! #155

Open ZCOREP opened 7 months ago

ZCOREP commented 7 months ago

Hello . When the download is done, the download is complete and the file is on the computer, but Downloader_DownloadFileCompleted It shows an error:

Error = {"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.."}

Why ? What is the problem ?

bezzad commented 7 months ago

Please provide some more information about configs and download URLs so we can do some tests.

ZCOREP commented 7 months ago

iam using wpf framework , what config you mean ?

https://dl2.soft98.ir/soft/g/Google.Chrome.119.0.6045.106.x64.zip?1699045797

https://dl2.soft98.ir/soft/m/Mp3tag.3.23.x86.rar?1699046205

ZCOREP commented 7 months ago

this is my code DownloaderClass.txt

ZCOREP commented 7 months ago

Hello sir, did you checked it?

ZCOREP commented 7 months ago

Hello sir, did you checked it?

bezzad commented 7 months ago

I tested the given links several times, but I didn't see any problem. Usually, this error occurs when the server or internet network has a problem for a few moments and the TCP connection between your system and the server is interrupted.

bezzad commented 7 months ago

I am working on a new version of the downloader, maybe it will give us more information about this problem. This version will be released soon.

ZCOREP commented 7 months ago

thanks

bezzad commented 5 months ago

@ZCOREP please check the new beta version 3.1.0-beta

ZCOREP commented 3 months ago

can i use this version in UWP ?!

bezzad commented 3 months ago

@ZCOREP Yes, of course, all platforms can use this package. But in the UWP, you may need to store downloaded files with your direct permissions, use in-memory download methods, get the stream, and then handle it with customized codes.