null

[ home ]


"hfs: http file server" on 15th July, 2006 (10:42 GMT-07)

Ever since the dawn of time (okay, a year or two) I've been searching for a tool that I can use to quickly share my files easily and conveniently. BitTorrent doesn't suit the job, it's not quick at all. FTP works, but the catch is that users need an FTP client. There may be one built into most browsers but that just isn't convenient for most people (including myself) and it does not give you customisability with regard to what it looks like on the client's end. Basically it depends entirely on what the user's browser or FTP client is like.

I've tried web servers. I found Apache does the job best, but it's still not a file server. I wanted something designed for serving files, not websites. I don't need something that has support for PHP or fancy mod_rewrite-style URLs, subdomains and so on. I set up Apache such that I moved or copied files inside the root directory and that was the directory that appeared when users browsed my web server. But Apache is big and bulky. It's not designed for something that simple, and it definitely wasn't good enough.

I tried smaller, more lightweight webservers such as thttpd and a few others. I almost found one which was perfect for my needs: it was a single file, commandline, and would simply serve a directory set in a .conf file. The problem was that it didn't do automatic listings of the directory contents. Since creating HTML files containing urls to the files I wanted to share would have been far too much work, it wasn't suitable.

I continued to use Apache when I needed to and continued to be unhappy with it. Until today.

HFS: HTTP File Server

Someone in uTorrent's IRC channel (#utorrent p2p-irc) pasted the link to HFS (HTTP File Server) and I checked it out. Single executable (600KB), specifically designed for file serving, and seemed to have all the features I needed. I tried it. This has existed for 4 years and I'm only discovering it now?!

1. It uses a VFS (virtual file system) preventing me from having to copy or move files into the root directory. I can set up 'real' or 'virtual' folders, and so on, allowing me to set permissions on them or hide them from certain users etc.
2. Amazingly detailed logs. No more sifting through Apache's pathetic logfile, now I can see everything (connections, requests, downloads, uploads, disconnects, etc) in real-time including lists of files currently being downloaded.
3. Full customisation of... well, everything. The HTML templates, the mime types, the filetypes that the browser will download or display, limits, users, bans, ... all of it. I haven't found something yet that I can't customise in some form or another.

The only bad thing is that it's coded in Delphi (kidding, don't kill me lopardo).

2669 views

Comments

#1678 by Moo on 26th July, 2006 (13:05 GMT-07)

Sweet!
/me gets.

#1676 by gover on 22nd July, 2006 (06:12 GMT-07)

WWW File Share Pro is nice, too

#1669 by wwb on 15th July, 2006 (13:47 GMT-07)

HFS is win. I've been using it for like a year.
I suggested lopilop run it instead of that FTP server of his, but he wants Apache. ¬_¬ Peri's running it though! :-D

#1668 by segosa on 15th July, 2006 (12:39 GMT-07)

Never!

#1667 by John Anderton on 15th July, 2006 (12:08 GMT-07)

damn loppy didnt kill seggy :<

So when do we get to see yoru hfs seg? ;)

#1666 by Sicknote on 15th July, 2006 (11:08 GMT-07)

How I love RSS feeds...

supz2delphi

#1665 by lopardo on 15th July, 2006 (10:48 GMT-07)

Delphi is teh pwnzrs.


Remember name




Tags: [b][/b] [i][/i] [s][/s] [url=http://url]name[/url]



[ return to top | validate html | validate css | rss ]