I'm looking for anyone who can help me see an example of File Transfer Protocol with CFNetwork

I'm looking for anyone who can help me see an example of File Transfer Protocol with CFNetwork for UPLOAD and DOWNLOAD.

Replies

Before you do anything with FTP, please read my explanation of why you shouldn’t.

That post also has references to existing sample code that shows how to use

CFFTPStream
for downloads and uploads. That sample code is in Objective-C, and I realise from the context that you are looking for Swift code. I can help you translate specific concepts from one to the other, but I’d be much happier if you just didn’t implement FTP in the first place.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"