afpfs-ng-mac provides macOS with AFP version 2.x for networking with Classic MacOS
Go to file
Simon Vetter e107bd4939 update archive file 2013-03-13 18:41:15 -07:00
cmdline use anonymous UAM if no user/password provided in connection request 2013-03-13 17:00:12 -07:00
distrib first import, version 0.8.2 2013-03-12 00:08:07 -07:00
docs first import, version 0.8.2 2013-03-12 00:08:07 -07:00
fuse first import, version 0.8.2 2013-03-12 00:08:07 -07:00
include increase login timeout 2013-03-13 17:56:43 -07:00
lib increase login timeout 2013-03-13 17:56:43 -07:00
patches first import, version 0.8.2 2013-03-12 00:08:07 -07:00
test added small fuse test script 2013-03-13 17:26:26 -07:00
.gitignore Initial commit 2013-03-12 00:01:51 -07:00
AUTHORS first import, version 0.8.2 2013-03-12 00:08:07 -07:00
Bugs.txt fixed time capsule mount timeout 2013-03-13 12:15:34 -07:00
COPYING first import, version 0.8.2 2013-03-12 00:08:07 -07:00
ChangeLog first import, version 0.8.2 2013-03-12 00:08:07 -07:00
INSTALL first import, version 0.8.2 2013-03-12 00:08:07 -07:00
Makefile.am first import, version 0.8.2 2013-03-12 00:08:07 -07:00
Makefile.in first import, version 0.8.2 2013-03-12 00:08:07 -07:00
NEWS first import, version 0.8.2 2013-03-12 00:08:07 -07:00
README.md Update README.md 2013-03-13 18:31:06 -07:00
TODO first import, version 0.8.2 2013-03-12 00:08:07 -07:00
[config.h].in first import, version 0.8.2 2013-03-12 00:08:07 -07:00
aclocal.m4 first import, version 0.8.2 2013-03-12 00:08:07 -07:00
afpfs-ng-0.8.2.tar.gz update archive file 2013-03-13 18:41:15 -07:00
compile first import, version 0.8.2 2013-03-12 00:08:07 -07:00
config.guess first import, version 0.8.2 2013-03-12 00:08:07 -07:00
config.h.in first import, version 0.8.2 2013-03-12 00:08:07 -07:00
config.sub first import, version 0.8.2 2013-03-12 00:08:07 -07:00
configure first import, version 0.8.2 2013-03-12 00:08:07 -07:00
configure.ac first import, version 0.8.2 2013-03-12 00:08:07 -07:00
depcomp first import, version 0.8.2 2013-03-12 00:08:07 -07:00
install-sh first import, version 0.8.2 2013-03-12 00:08:07 -07:00
ltmain.sh first import, version 0.8.2 2013-03-12 00:08:07 -07:00
missing first import, version 0.8.2 2013-03-12 00:08:07 -07:00

README.md

Apple Filing Protocol Library - afpfs-ng - libafpclient

Description

AFPFS is a client implementation of the Apple Filing Protocol written in C which can be used to access AFP shares exposed by multiple devices, notably Mac OS X computers, linux devices exporting shares with netatalk, Apple Airport and Time Capsule products as well as other NAS devices from various vendors.

Changelog

This is afpfs-ng-0.8.2, it brings IPV6 support and includes many bugfixes. Read NEWS for more details.

Installation

Pretty standard unix stuff:

./configure && make && sudo make install && echo 'done!'

Use --disable-fuse and/or --disable-gcrypt if your system cannot meet those dependancies. (note that disabling gcrypt will prevent you from using login/password auth.)

The command line tool needs ncurses-dev and libreadline-dev to compile. Install them with sudo apt-get install ncurses-dev libreadline-dev on ubuntu/debian.

Usage

You can either use afpfs to mount an AFP share with fuse or with the command-line client.

fuse

Mount the time_travel volume from delorean.local (in this example, my time capsule's hostname) on /mnt/timetravel without authentication:

$ mount_afp afp://delorean.local/time_travel /mnt/timetravel

Same, with authentication:

$ mount_afp afp://simon:mypassword@delorean.local/time_travel /mnt/timetravel

Same, with authentication, forcing the UAM of your choice (usually not needed):

$ mount_afp afp://simon;AUTH=DHX2:mypassword@delorean.local/time_travel /mnt/timetravel

Unmount the volume:

$ fusermount -u /mnt/timetravel

command line client

Open volume time_travel on delorean.local:

$ afpcmd afp://simon:mypassword@delorean.local/time_travel

Connect anonymously to delorean.local, list all available volumes:

$ afpcmd afp://simon:mypassword@delorean.local/

cd to change directories, ls to list, get file to retrieve file, put file to put file... and help for a list of supported commands.

Credits and license

This is a fork of the original afpfs-ng project that has gone unmaintained for quite some time. It is so far the only available open source AFP client.

This repository includes many patches collected by the XBMC project (www.xbmc.org) as well as mine, in a bid to improve stability, performance and to implement new features.

Check AUTHORS for a somewhat complete list of contributors.

The original afpfs-ng webiste can be found at https://sites.google.com/site/alexthepuffin/home

This project retains the original author's license and is distributed under the GPL.

Feedback and patches

Feel free to send your feedback/patches/flames at simon (dot) vetter (at) gmx.com .