Detect file download status

Let's say a file finished downloading, do you want to make sure that it
is not corrupt? If you do, I don't think you can do that with any
server side method.