Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error when download completed! #155

Open
ZCOREP opened this issue Nov 3, 2023 · 11 comments
Open

getting error when download completed! #155

ZCOREP opened this issue Nov 3, 2023 · 11 comments
Assignees
Labels
question Further information is requested

Comments

@ZCOREP
Copy link

ZCOREP commented Nov 3, 2023

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 bezzad self-assigned this Nov 3, 2023
@bezzad
Copy link
Owner

bezzad commented Nov 3, 2023

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

@ZCOREP
Copy link
Author

ZCOREP commented Nov 3, 2023

@ZCOREP
Copy link
Author

ZCOREP commented Nov 3, 2023

this is my code
DownloaderClass.txt

@ZCOREP
Copy link
Author

ZCOREP commented Nov 6, 2023

Hello sir, did you checked it?

1 similar comment
@ZCOREP
Copy link
Author

ZCOREP commented Nov 12, 2023

Hello sir, did you checked it?

@bezzad bezzad added the question Further information is requested label Nov 26, 2023
@bezzad
Copy link
Owner

bezzad commented Nov 26, 2023

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
Copy link
Owner

bezzad commented Nov 26, 2023

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
Copy link
Author

ZCOREP commented Nov 26, 2023

thanks

@bezzad
Copy link
Owner

bezzad commented Jan 2, 2024

@ZCOREP please check the new beta version 3.1.0-beta

@ZCOREP
Copy link
Author

ZCOREP commented Mar 24, 2024

can i use this version in UWP ?!

@bezzad
Copy link
Owner

bezzad commented Mar 30, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants