Downloader
Downloader copied to clipboard
getting error when download completed!
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 ?
Please provide some more information about configs and download URLs so we can do some tests.
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
this is my code DownloaderClass.txt
Hello sir, did you checked it?
Hello sir, did you checked it?
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.
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.
thanks
@ZCOREP please check the new beta version 3.1.0-beta
can i use this version in UWP ?!
@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.