Downloader icon indicating copy to clipboard operation
Downloader copied to clipboard

getting error when download completed!

Open ZCOREP opened this issue 1 year ago • 11 comments

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 ?

ZCOREP avatar Nov 03 '23 21:11 ZCOREP

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

bezzad avatar Nov 03 '23 21:11 bezzad

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 avatar Nov 03 '23 21:11 ZCOREP

this is my code DownloaderClass.txt

ZCOREP avatar Nov 03 '23 21:11 ZCOREP

Hello sir, did you checked it?

ZCOREP avatar Nov 06 '23 09:11 ZCOREP

Hello sir, did you checked it?

ZCOREP avatar Nov 12 '23 21:11 ZCOREP

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 avatar Nov 26 '23 10:11 bezzad

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.

bezzad avatar Nov 26 '23 10:11 bezzad

thanks

ZCOREP avatar Nov 26 '23 10:11 ZCOREP

@ZCOREP please check the new beta version 3.1.0-beta

bezzad avatar Jan 02 '24 19:01 bezzad

can i use this version in UWP ?!

ZCOREP avatar Mar 24 '24 14:03 ZCOREP

@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.

bezzad avatar Mar 30 '24 05:03 bezzad