Not to be pedantic, but ftp is an application, albeit one that runs on the command line. It is however, as you said, very fast and built in.
Now that that's out of the way...
When you turn on the ftp server in System Preferences, It uses the users you create in the Users Preference Pane...