Layers of the HTTP VFS
- a Midnight Commander itself
which asks its virtual file system for lists of files and directories;
- an MC's
extfs
Virtual file system
which translates these orders into calls to external executables, passing them parameters and files to transmit/receive;
- an http
vfs-client
one such executable, which further translates MC's orders into HTTP GET
or PUT
requests;
- a
VFS-server
a sh or Perl CGI script running on a remote computer that executes the requests: lists directories on its own server, sends files, and accepts new content for old or newly created files.
Very extensive comments in the source code (in particular, VFS-server.pl
and vfs-client.cc
) tell precisely how orders get translated and executed, which HTTP requests are issued, and how they are replied to and acknowledged. BTW, the comments tell all about the DeepestRoot.