Skip to content

Releases: CodeInstinctAI/FTPServerKit

Release list

v0.1.0

Choose a tag to compare

@PoloStyle07 PoloStyle07 released this 05 Oct 23:14

Initial release.

Added

  • FTPServer: a read-only FTP server for iOS and macOS, built on Network.framework with no dependencies
  • File providers: FTPDirectoryProvider (a directory and its subdirectories), FTPSingleFileProvider (one file) and the FTPFileProvider protocol for custom sources
  • Passive mode (PASV, EPSV), resume (REST), SIZE and MDTM
  • Downloads streamed in chunks
  • Username and password or anonymous login
  • async start that reports errors such as a port already in use
  • Server events as an AsyncStream, a Combine publisher or a delegate, plus a log handler
  • Opt-in workarounds for older and embedded FTP clients
  • DocC documentation and a SwiftUI example app

Requirements

  • iOS 15 or macOS 12
  • Swift 6 (Xcode 16 or later)

Known limitations

  • Read-only: uploads, deletes and renames are rejected with 550
  • Clients must use passive mode
  • No TLS, so credentials and files are sent unencrypted
  • On iOS, stop the server when the app goes to the background and start it again when the app becomes active