[owncloud-devel] Problems with Chunked upload

rahuljain840 rahuljain840 at gmail.com
Sat Jun 20 12:52:49 GMT 2015


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] <
ml-node+s10557n15263h56 at n7.nabble.com> 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]
> <http:///user/SendEmail.jtp?type=node&node=15263&i=0>
> GnuPG keygen: h.buerger at ...
> <http://pgp.mit.edu/pks/lookup?op=get&search=0xA6AAD494C4B32F1C>
>  <http://mailto:h.buerger@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 <http://multilingualpress.pro>
>
> Am 12. Juni 2015 bei 15:16:34, Markus Goetz ([hidden email]
> <http:///user/SendEmail.jtp?type=node&node=15263&i=1>) 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:///user/SendEmail.jtp?type=node&node=15263&i=2>
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
> _______________________________________________
> Devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15263&i=3>
> 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
> <http://owncloud.10557.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=15106&code=cmFodWxqYWluODQwQGdtYWlsLmNvbXwxNTEwNnwxNjAwNjg5NjAz>
> .
> NAML
> <http://owncloud.10557.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://owncloud.10557.n7.nabble.com/Problems-with-Chunked-upload-tp15106p15294.html
Sent from the Developers mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150620/c4f0fa19/attachment.html>


More information about the Devel mailing list