Comments (17)
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.
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.
I agree that's an improvement that can be made. Feel free to submit a patch. I might work on it later.
from httpdirfs.
Alright. Sounds good.
from httpdirfs.
I'm working on a simple patch now.
from httpdirfs.
Thanks for being so helpful! :)
from httpdirfs.
Almost done. Jesus C strings are hard. Any reason why you didn't use C++?
from httpdirfs.
None of the libraries I linked to use C++. So I thought I might as well stick to C.
from httpdirfs.
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.
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.
Ok. Fixing a bug right now. Might take another hour or two but then it should be good.
from httpdirfs.
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.
Ok the bug is fixed. Tell me when you are ready for the pull request.
from httpdirfs.
Yeh, send it now. Thanks!
from httpdirfs.
@RazeLighter777 , I added some more comments on your pull request - please tell me that you are still following the project! :P
from httpdirfs.
Superseded under issue #8 .
from httpdirfs.
@RazeLighter777 , the proper support has been added.
from httpdirfs.
Related Issues (20)
- Analyse and remove the potentially spurious code. HOT 1
- Error when accesing a file from different processes HOT 6
- URLS with : in the path Not working HOT 8
- Single file mode breaks when cache is enabled and URL has percent-encoding HOT 5
- Index.html with external links is not working HOT 3
- Missing requirements for source install ubuntu
- Cache mode doesn't work with escaped URL. HOT 9
- Multiple LinkTables of the same directory get created when cache mode is enabled HOT 1
- The refreshed LinkTable is not saved. HOT 2
- Problem associated with stripping the last ``/`` in the URL. HOT 19
- Update MD5 cryptography call usage.
- Fix CodeQL HOT 8
- Certain access pattern seems to cause the filesystem to hang HOT 1
- Refresh cached directory listing only after timeout. HOT 1
- Short-term Todo
- Change the build system to Meson.
- Update help's default value based on config.h
- What is the correct way of temporarily adding ``-DDEBUG`` into the compilation command? HOT 2
- Custom memory allocator for tracking memory usage / memory leak
- RHEL 8/ RPM Build instructions HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpdirfs.