httpfile – serve a single web file|
ip/httpfile [ –9d ] [ –c count ] [ –f file ] [ –m mtpt ] [ –s srvname
Httpfile serves the web page specified by the URL url as a new
file file in the directory mtpt. The default file is the last
path element of the URL, and the default mtpt is the current directory.
Httpfile does not download large files all at once. Instead, it requests 64–kilobyte blocks as they are needed to satisfy reads, caching a few blocks in memory at a time.
The –D and –d options enable a trace of the 9P traffic and general debugging messages.
The –s option causes httpfile to post the 9P service as /srv/srvname and disables the default mount.
The –c option sets the number of file blocks kept cached in memory
Mount an ISO image on a web server:|
Httpfile requires webfs(4) service mounted on /mnt/web to work.|