cenkalti / putio.py

A python wrapper for put.io APIv2
http://put.io
MIT License
72 stars 41 forks source link

CRC Verification #16

Closed datashaman closed 8 years ago

datashaman commented 8 years ago

Calculate CRC locally to compare to remote API CRC value Only delete file remotely if CRC value matches, log error

datashaman commented 8 years ago

I've opted for logging and not deleting if there's a CRC verification failure. Your call on how to handle that, I'll happily change to exceptions, whatever. Let me know.