Giter Club home page Giter Club logo

Comments (17)

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024 1

That will work, but perhaps it would be better if you could pass it as a command line argument like here:

./httpdirfs -f -u username -p password $URL $YOUR_MOUNT_POINT

This option could be easily implemented by just adding whatever the options say to the end of the url like you have it above. Wouldn't even have to mess with fuse or curl.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Have you tried the username:password@url trick yet? e.g. http://username:password@localhost
I don't understand how to use FUSE to parse arguments.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

I agree that's an improvement that can be made. Feel free to submit a patch. I might work on it later.

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

Alright. Sounds good.

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

I'm working on a simple patch now.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Thanks for being so helpful! :)

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

Almost done. Jesus C strings are hard. Any reason why you didn't use C++?

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

None of the libraries I linked to use C++. So I thought I might as well stick to C.

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

Alright. I finished. But I want you to take a look at my fork to make sure everything's OK before I make a pull request.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Mind you, I might borrow your method to set the nax HTTP connection limit. I switched to curl-multi interface. This is way faster than rclone mount.

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

Ok. Fixing a bug right now. Might take another hour or two but then it should be good.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Awesome man, I fixed all my multithreading issues. I am downloading Debian Live DVD right now to test it. But yeh, this thing is way better than rclone mount, imho.

from httpdirfs.

RazeLighter777 avatar RazeLighter777 commented on June 14, 2024

Ok the bug is fixed. Tell me when you are ready for the pull request.

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Yeh, send it now. Thanks!

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

@RazeLighter777 , I added some more comments on your pull request - please tell me that you are still following the project! :P

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

Superseded under issue #8 .

from httpdirfs.

fangfufu avatar fangfufu commented on June 14, 2024

@RazeLighter777 , the proper support has been added.

from httpdirfs.

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.