GithubHelp home page GithubHelp logo

Support chunked upload about cloudsend.sh HOT 1 OPEN

le-ander avatar le-ander commented on June 16, 2024
Support chunked upload

from cloudsend.sh.

Comments (1)

tavinus avatar tavinus commented on June 16, 2024

This is interesting, but I am not sure this is possible for shared folders.

The document says "The API is only available for registered users of your instance". Which makes me think it would not work on shared folders. We could test anyways. EDIT: Gave another read and seems like we are out of luck to use their API. Even the Webdav URL is different and REQUIRES a user name.

If it does not work without a registered account, this could be added to my cloudmanager app. I wanted to change cloudmanager's account config for some time (I hate having 2 files there). I should also enable parameter login (to use without a config file). Maybe I can do all that and add this functionality as well. But takes some time and I also need scripts that would transform the old config into the new design.

One option that is always available is to generate the chunks ourselves before sending them. But then I am not sure the "move/join" command would work (could be tested). This would also require extra space and processing in the origin to generate the chunks before sending them, unless we can find a way to split those files as we send them (on-the-fly).

I have been quite busy with other things, but I will try to squeeze some time to study this. Any help is appreciated.

EDIT2: I am still not sure how this works, specially how to upload the chunks. The documentation uses @chunk1,2,3 as the file to upload, so how does it even know what file it is sending? My guess is that we have to split the file before sending anyways. Yep, we need to use split and generate the chunks. To join, they use a .file which is probably created by the API (not sure). So we will need to also replicate that file to make the join work. Which means that the first step is to actually make this work manually, so we can inspect the files created and try to to the same stuff the API does.

from cloudsend.sh.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.