[owncloud-devel] Problems with Chunked upload

Hans-Helge Bürger h.buerger at inpsyde.com
Mon Jun 22 20:01:18 GMT 2015


Unfortunately, my chunk upload is also not working. Magic Files also don’t work for me. I have the problem, that a new file is created with the chunk-file-name but each file hast no content (so size 0 bytes). That is totally weird :(

Hans-Helge Bürger  
WordPress Engineer
Telefon: +49 2202 817 90-27
Fax: +49 2202 817 90-99
E-Mail: h.buerger at inpsyde.com  
GnuPG keygen: h.buerger at inpsyde.com.asc

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  

Am 20. Juni 2015 bei 15:15:37, rahuljain840 (rahuljain840 at gmail.com) schrieb:

Hi Hans-Helge Burger,

Did you get the solution for file upload. I have tried each and everything suggested in forum and everywhere but didn't get success. The problem that i faced is that each time my chunk is submitted as a file and overwrite the previous chunk. Even i can download the chunk with the version history. It seems like magic file doesn't work and It doesn't understand the chunk request. If you have the solution Kindly share. 

Thanks in advance. 

On Mon, Jun 15, 2015 at 1:05 PM, Hans-Helge Bürger [via ownCloud] <[hidden email]> wrote:
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: [hidden email]
GnuPG keygen: h.buerger at ...

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 ([hidden email]) 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
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/devel

_______________________________________________
Devel mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/devel


If you reply to this email, your message will be added to the discussion below:
http://owncloud.10557.n7.nabble.com/Problems-with-Chunked-upload-tp15106p15263.html
To unsubscribe from Problems with Chunked upload, click here.
NAML


View this message in context: Re: Problems with Chunked upload
Sent from the Developers mailing list archive at Nabble.com.
_______________________________________________  
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/20150622/6e1fe586/attachment.html>


More information about the Devel mailing list