rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: NaitLee on May 13, 2021, 02:03:53 PM

Title: Discuss about the Virtual File System technique?
Post by: NaitLee on May 13, 2021, 02:03:53 PM
I'm just trying to implement a virtual file system (vfs) thing in Python, but cannot figure out the technique to do.
HFS source code is a bit long and I failed to discover the actual way.

Please, help me imagine a method to complete it :)
Any spoken thing is fine :D
Title: Re: Discuss about the Virtual File System technique?
Post by: danny on May 14, 2021, 04:47:40 PM
It looks like an expansion of the typical feature of web and ftp servers--the ability to set webroot to a real folder (folder is C:\web (example) but link is /).  The values are stored in web server's data file.  HFS has this, except more capacity to store more links. 
Title: Re: Discuss about the Virtual File System technique?
Post by: Rapid on August 11, 2021, 10:52:00 AM
I'm suggesting a new format for VFS.
A JSON config file and all icons as separate files inside zip archive.
It will be easy to look and modify.

I've made an export into this format (i've called *.VFSJZ) so you can look at it.
https://github.com/drapid/HFS/releases/tag/2.4RC8

Loading is the next thing...