Giter VIP home page Giter VIP logo

Comments (8)

bezzad avatar bezzad commented on May 19, 2024 1

@ghost1372 This is not a bug. Because this exception is thrown from CheckSizes method which checks to file total size.
I checked your URL and excited of. Sometimes the response of GET request, have Content-Length in that's Header and sometimes not have!
According to issue #24, I will change my library to support downloading unknown length files.

from downloader.

bezzad avatar bezzad commented on May 19, 2024 1

I checked this URL by Postman and that's the result is same and no content-length in the response Header.
image

from downloader.

bezzad avatar bezzad commented on May 19, 2024 1

I try this week to complete that. 😄

from downloader.

ghost1372 avatar ghost1372 commented on May 19, 2024 1

thank you @bezzad Everything works fine❤

from downloader.

ghost1372 avatar ghost1372 commented on May 19, 2024

thank you
Yes, sometimes the Header is empty
I am currently using webclient, file details are not available, but file can be downloaded
I hope the new version will be released soon
Untitled

from downloader.

bezzad avatar bezzad commented on May 19, 2024

@ghost1372 Yes, in the new version I want to implement downloading without knowing content-length. But without length, you can't chunking file! So the parallel and multi chunk download feature is not available when server response has no content-length. And so downloads will just be one chunk and serial.

from downloader.

ghost1372 avatar ghost1372 commented on May 19, 2024

It seems good, I do not think there will be a problem because in very rare cases this situation occurs
Inshallah When will it be published?

from downloader.

bezzad avatar bezzad commented on May 19, 2024

@ghost1372 I added this feature to version 2.0.4. Please test and feedback on this issue. Thanks

from downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.