adding chunked upload handling
Merge pull request #6037 from owncloud/fix-6007-oc6

adding chunked upload handling