OC-3097: (fix bug) When the connection is lost during a download, app thinks that the download is finished
Merge pull request #14 from owncloud/send_file_pr311_with_develop

Added check on the size of the downloded file