Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

Snow Leopard Server FTP errors

2011-01-25 08:22:48

Out of the box, Snow Leopard FTP server doesn't allow loopback FTP access, it give an error:

"Address family not supported by protocol family" 

The following Apple Support article details the behavior:

The fix is: 

sudo /usr/libexec/PlistBuddy -c "add :Sockets:Listeners:SockFamily string IPv4" /System/Library/LaunchDaemons/xftpd.plist 

The best thing about this: there is actually a program in libexec called PlistBuddy.