P
P
Paul Man2015-08-10 11:23:17
Python
Paul Man, 2015-08-10 11:23:17

How to get the hash sum of a file located on a network resource using python as an example?

From the site you need to upload a file that is constantly updated. Moreover, the file name and address do not change. When the file is updated is not known. Is there any way to find out the hash of a file without downloading it?
PS For example, you can take a Microsoft resource - download.microsoft.com/download/7/6/0/760B9188-446...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2015-08-10
@itshack

HTTP has such a trick - pocus - it can report that the file has not been touched since such and such a date (sends 304 - Not modfied)

P
Paul Man, 2015-08-10
@itshack

How much I have understood also comparison can be made and on ETag?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question