Swift library to share large files via network

I'm looking to see if there's any suggested libraries / frameworks to use for transferring files between Macs. The setup is a few dozen Macs (each with 10g networking) and a custom app that handles the transfer of files between them on a local network.

I looked into raw TCP sockets but the file sizes will make this tricky. Some files can be up to 150gb. Maybe SFTP to AFP? But not sure how this looks in code and I know I don't want to be mounting computers in finder - ideally it's an app that hosts it's own server to handle the transfers.

Any insight on this would be helpful. Thanks!

I looked into raw TCP sockets but the file sizes will make this tricky.

What makes you say that? I mean, what functionality do you need beyond what you get from a TCP API?

Note I generally recommend that you not use TCP sockets, but rather Network framework. See TN3151 Choosing the right networking API for more on that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Swift library to share large files via network
 
 
Q