Giter Club home page Giter Club logo

Comments (7)

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

thanks for the report @mmccallum I'll have a look at the docs and check this.

I have a feeling that the API says to URL encode the name, but I'll double check this.

from backblaze-b2.

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

For the upload file API is says:

The name of the file, in percent-encoded UTF-8. For example, spaces should be replaced with %20. 
For more information, see Files for requirements on file names and String Encoding for how to encode strings.

I'll have a look through how I do this and do a quick test with your example and get to you 👍

from backblaze-b2.

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

Ok I have reproduced the error. I'll look at fixing it now 🎯

from backblaze-b2.

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

Ok the trouble seems to be that I need to URL encode everything except the /'s in the filename.

Patch coming shortly 👍

from backblaze-b2.

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

Fix merged, will publish to npm shortly 👍

from backblaze-b2.

mmccallum avatar mmccallum commented on August 22, 2024

Thanks! Won't get a chance to test until next week. Will report if there
are any issues.

Matt

On Friday, January 15, 2016, Yakov Khalinsky [email protected]
wrote:

Fix merged, will publish to npm shortly [image: 👍]


Reply to this email directly or view it on GitHub
#9 (comment)
.

from backblaze-b2.

yakovkhalinsky avatar yakovkhalinsky commented on August 22, 2024

No worries 👍 help to highlight the same problem with the other file functions 👯

from backblaze-b2.

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.