Comments (6)
You can mount the directory containing the ISO file, then loop mount the ISO file as usual.
from httpdirfs.
@fangfufu Yes, that is only correct only if the destination file browsing is enabled [or an index.html with the iso file listed in an ahref link]
What Works Currently:
If https://www.example.com/mycrazypath/ remote path has directory browsing enabled [and returns a 200 result code] or an index,html with the rocky-linux-8.iso file list in the HTML file as a a-href, I can mount the https://www.example.com/mycrazypath/ path, do an 'ls' and see the rocky-linux-8.iso file and loop mount the ISO file. [I can verify I can download it directly from https://www.example.com/mycrazypath/rocky-linux-8.iso even without directory browsing].
What Doesn't Work: [and would be a great feature to have] is:
If directory browsing is disabled on https://www.example.com/mycrazypath/ [Returns a 403 Forbidden] but I know that I can still access/download the ISO file directly if the path is known [https://www.example.com/mycrazypath/rocky-linux-8.iso can be downloaded directly from my browser], it would be nice if I could still httpdirfs mount that 1 file to show up in my mounted path. Currently, this does not work with the latest version from master.
Example of what would be great to support
httpdirfs --no-range-check https://www.example.com/mycrazypath/rocky-linux-8.iso /cdrom/
And it should should show
ls /cdrom/*
rocky-linux-8.iso
from httpdirfs.
@breisig , you can use httpfs for that.
from httpdirfs.
@fangfufu I have used httpfs but it's been abandoned for awhile now and mounting SSL url's is broken [only http links work]. This would be a great feature to add to httpdirfs for everyone to switch to your project.
from httpdirfs.
Ok, you managed to convince me, I don't really have a timeline on when this will be done though.
from httpdirfs.
@breisig , implemented via f42264d. It should be in the latest master branch. You need to activate it using single-file-mode
.
For example:
./httpdirfs -f --cache --single-file-mode https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.0.0-amd64-netinst.iso mnt
Please have a try, and let me know what you think. If you like it, please spread good words of this software! 🙂
from httpdirfs.
Related Issues (20)
- arg -o should be possible after destination (mount.fuse compatability)
- Unable to mount from fstab or /bin/mount HOT 1
- getopt_long returns an int, not a char, and this matters a lot
- Windows support HOT 1
- Support for h5ai(HTML5 Apache Index) directory listing HOT 4
- Add `--cacert` option like `curl`'s frontend
- LinkTable_print(): Invalid link count: 0, h HOT 1
- How to cleanly clear cache HOT 4
- Reconsider usage of UBSAN HOT 3
- Transition to libfuse 3.x HOT 1
- Unable to install on Linux HOT 2
- Cache causes corrupt data when filesystem is full HOT 6
- Why not add a resumable upload function? HOT 7
- Improper locking error, unlocking an inactive lock? HOT 6
- wishlist: Cache for directories / metadata only / small files only
- Trailing slash in links not preserved HOT 4
- 404'ing directory breaks httpdirfs
- httpdirfs missing mountpoint parameter, rpi 4b 64bit HOT 8
- Single file mode does not work on a lot of pages HOT 2
- Single File Mode does not seem to work Linux Mint 20.2 Cinnamon HOT 31
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.