Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Reverse download protocols

by jdporter (Chancellor)
on Aug 30, 2021 at 15:15 UTC ( #11136218=note: print w/replies, xml ) Need Help??


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

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

Replies are listed 'Best First'.
Re^4: Reverse download protocols
by tomasz (Acolyte) on Aug 30, 2021 at 15:40 UTC
    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.


      🦛

        Sorry, but you seem to have not understood me at all. To clarify even more, the conversation might look like this:

        Client: hash1?
        Server: yes
        Client: hash2?
        Server: no
        Client: hash3?
        Server: yes
        And so on, until the client knows the file completely, so has no more questions.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2022-12-09 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?