0

I am attempting to build an application that will allow multiple users to maintain personal, sandboxed file systems on a server, but access them via a client application.

I've determined that I can use PyFilesystem to store these file systems as single files, probably as TarFS or ZipFS instances, and the server can reference them as mutable within memory alone rather than extracting the archive.

Ideally, I would prefer to provide a given user access to their corresponding personal filesystem via an FTP so that the user can mount it as a drive, rather than having the user download/upload the entire archive each time they want to access their data.

What I need to make this happen is a way to open the FS on the server side, then spawn an FTP server that points to the mounted FS.

I am currently able to create the necessary archives, open the archives and store them in-memory as file systems, store the memory-resident file systems as archives, spawn an FTP server, and mount an open FTP server as a drive on the client side. Only part I'm missing is a way to direct that FTP server to the memory-resident file system instead of the OS file system.

drMathwin
  • 33
  • 6
  • With further research, it appears as though this might be built-in as a feature in PyFilesystem via the [expose](https://github.com/PyFilesystem/pyfilesystem/tree/master/fs/expose) module. There is also the [FsTPy](https://github.com/desmoteo/FsTPy) library, which appears to be designed as an executable and may not meet my needs. – drMathwin Dec 08 '22 at 20:35

0 Answers0