Why are you implementing FTP? FTP is a horrible protocol in general, and it has specific security problems that make it unsuitable for use on the modern Internet. In the vast majority of cases there are better alternatives.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
What did you end up using?
I tested FileProvider but it's pretty buggy with Swift 5 and it doesn't look like the author's even supporting it anymore (he hasn't posted in the "Issues" section in months).