[owncloud-devel] Problems with Chunked upload

Hans-Helge Bürger h.buerger at inpsyde.com
Mon Jun 15 07:56:29 GMT 2015


I just took a look at the owncloud client and first impression: There are a lot of things done which are never mentioned before. However my client still does not work. But I have some questions you hopefully can answer :)

1. etag

The specs (https://github.com/owncloud/core/wiki/spec:-big-file-chunking) mentions etags at the end. With each response of a chunk I get a new etag. The client checks for that (https://github.com/owncloud/client/blob/master/src%2Flibsync%2Fpropagateupload.cpp#L439) but this did not work for me so far. So my question. Is it a bad thing that I get etags returned and do I need If-Match in my header?

2. X-OC-MTIME

I saw some clients using X-OC-MTIME as header. What does this header mean?
https://github.com/owncloud/client/blob/master/src%2Flibsync%2Fpropagateupload.cpp#L426

3. Checksum

The owncloud client also adds a checksum to the last request. Is this necessary? If yes how do I calculate that?
https://github.com/owncloud/client/blob/master/src%2Flibsync%2Fpropagateupload.cpp#L468


Hans-Helge Bürger  
WordPress Engineer
Telefon: +49 1579 2349 527
E-Mail: h.buerger at inpsyde.com  
GnuPG keygen: h.buerger at inpsyde.com

Inpsyde GmbH  
Mutzer Heide 3
51467 Bergisch Gladbach

Amtsgericht Köln HRB 65224
Steueridentnr.: DE263849534
Geschäftsführer: Heinz Rohé

http://inpsyde.com  
http://wpde.org  
http://edupress.de  
http://marketpress.com  
http://multilingualpress.profile


Am 12. Juni 2015 bei 15:16:34, Markus Goetz (markus at woboq.com) schrieb:

On 11/06/15 14:18, Klaas Freitag wrote:  
>  
> If that is not complete, please refer to the sources available in  
> github.com/owncloud/client or pyocclient and help extending the docs.  
... direct link to the relevant file:  
http://code.woboq.org/owncloud/client/src/libsync/propagateupload.cpp.html#389  

--  
Woboq GmbH | http://woboq.com/  
Geschäftsführer: Markus Goetz, Olivier Goffart  
Hermannstr. 134, 12051 Berlin, Germany  
Handelsregister: Amtsgericht Berlin (Charlottenburg) HRB 137795  

_______________________________________________  
Devel mailing list  
Devel at owncloud.org  
http://mailman.owncloud.org/mailman/listinfo/devel  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150615/dde75e0a/attachment.html>


More information about the Devel mailing list