[Paper Review] A network file system over HTTP: remote access and modification of files and "files"
HTTPFS proposes a user-space network file system that enables remote file and directory access over HTTP, emulating local filesystem semantics via CGI scripts on UNIX or Windows hosts. It supports full file operations (read, write, append, truncate) with stronger concurrency isolation than POSIX, offering both a standard API and integration with Midnight Commander for interactive use.
The goal of the present HTTPFS project is to enable access to remote files, directories, and other containers through an HTTP pipe. HTTPFS system permits retrieval, creation and modification of these resources as if they were regular files and directories on a local filesystem. The remote host can be any UNIX or Win9x/WinNT box that is capable of running a Perl CGI script and accessible either directly or via a web proxy or a gateway. HTTPFS runs entirely in user space. The current implementation fully supports reading as well as creating, writing, appending, and truncating of files on a remote HTTP host. HTTPFS provides an isolation level for concurrent file access stronger than the one mandated by POSIX file system semantics, closer to that of AFS. Both an API with familiar open(), read(), write(), close(), etc. calls, and an interactive interface, via the popular Midnight Commander file browser, are provided.
Motivation & Objective
- To enable transparent remote access to files and directories over HTTP as if they were local.
- To support full file operations—creation, reading, writing, appending, and truncating—on remote systems.
- To provide stronger concurrency isolation than POSIX, approaching AFS semantics, for reliable concurrent access.
- To operate entirely in user space without kernel modifications, enhancing portability and deployment ease.
- To integrate with existing tools like the Midnight Commander for interactive file management.
Proposed method
- Uses HTTP as the transport layer to communicate with remote hosts running a Perl CGI script.
- Employs standard system calls (open, read, write, close) to emulate local filesystem behavior.
- Implements file operations via HTTP POST and GET requests to the CGI script on the remote server.
- Enforces strong concurrency control using file locking mechanisms that exceed POSIX semantics.
- Provides a user-space implementation to avoid kernel-level modifications and improve portability.
- Supports integration with the Midnight Commander file browser through a compatible interface layer.
Experimental results
Research questions
- RQ1Can a network file system be effectively built over HTTP without kernel-level components?
- RQ2How can strong concurrency isolation be achieved in a remote file system using only HTTP and CGI?
- RQ3To what extent can standard system calls be emulated over HTTP to provide a seamless user experience?
- RQ4Can interactive file management tools like Midnight Commander be effectively integrated with an HTTP-based file system?
- RQ5What performance and reliability trade-offs arise when using HTTP for file system operations?
Key findings
- HTTPFS successfully emulates local file system operations (read, write, create, truncate) over HTTP using CGI scripts.
- The system provides stronger concurrency control than POSIX, approaching the isolation levels of AFS.
- Full integration with the Midnight Commander file browser is achieved, enabling interactive remote file management.
- The implementation operates entirely in user space, avoiding kernel modifications and enhancing portability.
- Remote access is feasible on both UNIX and Windows hosts, provided a compatible CGI script is available.
- The system supports access through web proxies and gateways, increasing deployment flexibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.