Git Product home page Git Product logo

Comments (11)

5HT2 avatar 5HT2 commented on August 22, 2024 1

You're missing the @ symbol.

The correct syntax here would be

curl -X POST https://fs.d1s.cc/pptx/presentation_sound_waves.pptx -H "Auth: $TOKEN" -F "file=@/home/d1snin/Documents/presentation_sound_waves.pptx"

from fs-over-http.

5HT2 avatar 5HT2 commented on August 22, 2024 1

d1854fe

from fs-over-http.

d1snin avatar d1snin commented on August 22, 2024

oh, thank you

from fs-over-http.

5HT2 avatar 5HT2 commented on August 22, 2024

Without the @ you're setting the form content to a bunch of text instead of the file.

from fs-over-http.

d1snin avatar d1snin commented on August 22, 2024

Without the @ you're setting the form content to a bunch of text instead of the file.

I got it

from fs-over-http.

d1snin avatar d1snin commented on August 22, 2024

There is another problem:
image

And the file is not being served

from fs-over-http.

5HT2 avatar 5HT2 commented on August 22, 2024

You have to append public manually if you want to upload to the public folder, eg

curl -X POST https://fs.d1s.cc/public/pptx/presentation_sound_waves.pptx -H "Auth: $TOKEN" -F "file=@/home/d1snin/Documents/presentation_sound_waves.pptx"

from fs-over-http.

5HT2 avatar 5HT2 commented on August 22, 2024

(only when using a token)

from fs-over-http.

d1snin avatar d1snin commented on August 22, 2024

I see, can you update the USAGE.md then?

from fs-over-http.

5HT2 avatar 5HT2 commented on August 22, 2024

I'll add a note, sorry that wasn't clear.

from fs-over-http.

d1snin avatar d1snin commented on August 22, 2024

Thank you

from fs-over-http.

Related Issues (7)

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.