http://qs321.pair.com?node_id=11136216


in reply to Re: Reverse download protocols
in thread Reverse download protocols [solved]

Of course reduction of down link is what I meant - corrected for you.

And no shared information can be assumed. Think of it as operating on a popular download server, where the file to be downloaded can be anything.

Replies are listed 'Best First'.
Re^3: Reverse download protocols
by jdporter (Paladin) on Aug 30, 2021 at 15:15 UTC

    Can you explain what you mean by "questions" and "answers", and how those would affect the download?

      That's the whole thing, don't get me wrong... What are reasonable client questions here? The client has to guess the file. So it may ask for something like a hash (as in sha1). Then the server answers yes/no, or gives some hint. So it probably involves some hashing algorithm. I'm not sure...

        It almost sounds like you are talking about caching. If that's the case then there is no need at all to reinvent that particular wheel. See (eg) the If-Modified-Since and Cache-Control headers.


        🦛