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

Download of a file larger than 2 GB #10

Open
shimon128 opened this issue Mar 12, 2023 · 5 comments
Open

Download of a file larger than 2 GB #10

shimon128 opened this issue Mar 12, 2023 · 5 comments

Comments

@shimon128
Copy link

shimon128 commented Mar 12, 2023

I trying to download a file whose size is about 12.7 GB but it constantly lowers me only 692 MB.
What can I do?
image

@Nadahar
Copy link
Contributor

Nadahar commented Mar 12, 2023

It should download the full file - it's just the display that is wrong. It's because of an overflow in the int holding the size value - but I haven't been able to figure out how to get a larger size to use because I don't get the type system and the limitations for what types can be used and not.

@Nadahar
Copy link
Contributor

Nadahar commented Mar 12, 2023

Have you tried to use NSCurl instead?

@shimon128
Copy link
Author

Yes, I tried it.
At the moment I have other problems with it that for some reason the download speed starts start great but then drops drastically.
Are you sure it's just showing the wrong size? Because it ends very quickly.

@Nadahar
Copy link
Contributor

Nadahar commented Mar 12, 2023

No, I'm not sure - I just thought that was the case. The actual download is done by the Internet Explorer part of Windows of all things, so maybe the Internet Explorer version installed might impact it.

To be honest, that's the problem with this plugin, that it's based on MS WinInet API, which is again using Internet Explorer behind the scenes. Since IE is hopelessly outdated and have been abandoned for a long time, this plugin suffers as well. That's why I think a curl based plugin sounds like a much better idea in 2023.

@Nadahar
Copy link
Contributor

Nadahar commented Mar 12, 2023

I haven't written the plugin itself, I've just modified the dialog box. I'm not really a C/C++ developer, which is why it doesn't take much for me to get in deep water. This is based on the "official" INetC plugin, so maybe they can address the issue. If I know the fix, I can implement it here as well.

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

No branches or pull requests

2 participants