Files can be transferred between computers on a network in a number of ways. So the answer to your question can be an number of things, and they’ll all be correct. That said, the FTP you mentioned is but one of the methods, albeit slightly older and definitely less secure than the newer ones. It was also mostly used to transfer files over the internet, like uploading a website and not on local networks.
I suspect what you’re looking for is somewhere in here: