Disable on large file

An attempt to resolve #1238. I did it on the client side because did't seem right to send a large file from the client to the server just to be discarded.

I signed the CLA