Skip to content
Oliver Schmidt edited this page May 8, 2019 · 5 revisions

HFS65 is an HTTP File Server inspired by the HTTP File Server for Windows.

It is currently available for the C64 and the enhanced Apple //e.

HFS65 doesn't support a static IP configuration so a DHCP server is obligatory.

It allows you to transfer files from the machine running HFS65 to another computer. That computer doesn't need any special program, just a web browser.

HFS65 prints on startup its IP address, e.g. Starting server on 192.168.0.10. Just enter that IP address in your web browser, e.g. http://192.168.0.10/ and your are presented with a list of links representing your disk drives. Selecting any link allows you to navigate to any file present on the machine running HFS65 and download it to the computer running the web browser.

However, it isn't necessary to use that navigation to download a file. Rather the URL of any file can be entered directly in your web browser. HFS65 is designed to have those URLs look exactly as you'd expect them.

Those intuitive direct file URLs allow the web browser to be easily replaced by tools like Wget or cURL. This way, file transfers can become part of automated processes.

Note: To transfer files in the opposite direction you may use Wget65.

C64

The C64 version of HFS65 supports the RR-Net and the ETH64 Ethernet devices.

Direct file URLs take the form http://<HFS65 IP Address>/<Device Number>/<File Name>. So with HFS65 running on a mchine with the IP address 192.168.0.10 the file MYFILE on the disk drive with the device number 8 has the URL http://192.168.0.10/8/myfile.

The RUN/STOP key quits HFS65.

Enhanced Apple //e

The Apple //e version of HFS65 supports the Uthernet, the LANceGS and the Uthernet II Ethernet cards.

The file HFS65 is the actual program. It is intended to be run from BASIC.SYSTEM and returns directly to BASIC. The file HFS65.SYSTEM is intended to be run from a ProDOS selector without the need for BASIC.SYSTEM and returns to the selector (after an additional key press).

HFS65 presumes the Ethernet card to reside in slot 3. If however your Ethernet card resides in a different slot you can create a file named ETHERNET.SLOT. Only the first byte of that file is relevant. This byte can either represent your Ethernet card slot as binary value (e.g. $04 for slot 4), as ASCII digit (e.g. $34 for slot 4) or as Apple TEXT digit (e.g. $B4 for slot 4).

Direct file URLs take the form http://<HFS65 IP Address>/<Volume Name>/<Directory Name>/<File Name>. So with HFS65 running on a mchine with the IP address 192.168.0.10 the file MYFILE in the directory MYDIR on the disk drive with the volume name MYVOL has the URL http://192.168.0.10/myvol/mydir/myfile. So the URLs could as well be described as http://<HFS65 IP Address><Absolute Path Name>.

Beside allowing to download any file, HFS65 allows to download any volume as disk image in the .PO format. Either use the URL http://<HFS65 IP Address>/ and select the respective .PO image link from the list or use the direct image URL http://<HFS65 IP Address>/<Volume Name>.PO.

The ESC key quits HFS65.

Clone this wiki locally