ftp, smb or afp access to a rpi local drive


I have a external HDD (pidrive) connected on my Rpi, I can see it in “Browse/Music Library/USB/HDDExterne” and I would like add music on it from my MAC (by afp protocol) or from Windows (by samba protocol) or by ftp protocol but I don’t know how do that

For smb from Windows it’s OK (not from my MAC), I have modified the smb.conf file but for afp and ftp, I don’t know how do… I have tried to install Netatalk but it’s impossible for volumio…

Who have already do that ?