Code Monkey home page Code Monkey logo

Comments (3)

vinodc avatar vinodc commented on June 4, 2024

@nathancarter If you possess the data in base64-encode form, you can decode and send the raw data to the upload endpoint as a binary upload, rather than an upload from a URL. URL-based uploads are most useful when the data is located at an external URL where it can be downloaded from.

from file-picker.

vinodc avatar vinodc commented on June 4, 2024

It appears I misunderstood the question. To clarify: base=64 encoded data URLs would not be supported via this endpoint as binary uploads are not supported via the File Explorer's build in save() mechanism. For that functionality, it is better to use the Chooser mode to prompt the user to select a folder to save data to, and then upload the data to that folder from your own JavaScript after the Bearer token (retrieve_token configuration parameter) and folder metadata is returned.

from file-picker.

nathancarter avatar nathancarter commented on June 4, 2024

Unfortunately, this doesn't work for me. I don't want the user to just choose the folder in which to save. They should be able to specify the filename, just as with the Saver. If the Saver error object told me the attempted path and filename, I could then proceed to handle that error with the REST API, but unfortunately, it does not. I think, sadly, Kloudless will not work for me for this reason. Thank you for your help, and I look forward to hearing if anything changes.

from file-picker.

Related Issues (20)

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.