[owncloud-devel] How to trigger the hooks when using the sync client?

Klaas Freitag freitag at owncloud.com
Sun May 29 07:57:54 GMT 2016

On 29.05.2016 09:48, Jalpreet Singh Nanda wrote:


> I am Jalpreet Singh Nanda, a GSoC intern at ownCloud.  I am working on the
> Gallery App on the following project
> <https://summerofcode.withgoogle.com/projects/#5789245109174272>.
> So, while working on the project, I have got stuck somewhere and needed some
> help. Actually,  I am currently trying to trigger the hooks on image upload
> (postCreate). It is working for all the cases except when the image is uploaded
> using sync client. I saw the activity app and came to know that it is able to
> trigger the hooks even when using the sync client but I am not able to figure
> out where am I making a mistake.

The sync client uses HTTP PUT to upload files, similar to what a normal 
WebDAV client would do.

Good luck with your project,


More information about the Devel mailing list