Git Product home page Git Product logo

Comments (4)

tycm4109 avatar tycm4109 commented on May 30, 2024

@sd0minick Hi Steeve, thanks for letting us know. Let me take a look into it and I'll get back to you. Thx!

from go-btfs.

szxyks avatar szxyks commented on May 30, 2024

@tycm4109 Thanks for looking into this. Were you able to reproduce the issue? Any updates?

from go-btfs.

tycm4109 avatar tycm4109 commented on May 30, 2024

@sd0minick Hi Steeve, apologies for the late reply. Yes I was able to reproduce. So the way to upload a file to the WebUI via the CLI is two steps:

  1. Upload the file into BTFS by running btfs add file1.txt
  2. Add the file to the WebUI by running btfs files cp /btfs/<file hash> /<WebUI hash>. So for example, btfs files cp /btfs/QmP6rWWimuobeWpG9LPME2bXiJ4t9eFyAkYLiQafNwwLCz /QmTfM7Rz58Ejwq8Yg3jEEhtLc3BBxucpATiq4pRCy6TK4J.
  3. Go to your WebUI and under the "Files" tab, you should see your newly uploaded file. Like you already mentioned, you can also run btfs files ls to see the uploaded file in the command line.

I will update the docs.btfs.io documentation to guide users on this procedure, since it was asked about a few times. Please let me know if this answers your inquiry. Thx!

from go-btfs.

szxyks avatar szxyks commented on May 30, 2024

@tycm4109 I've tested the provided workaround and I can confirm that it works. Thanks a lot.

from go-btfs.

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.