Skip to content

Instantly share code, notes, and snippets.

@Pinturaj
Pinturaj / FTPUpload.swift
Created Sep 1, 2020 — forked from Nirma/FTPUpload.swift
Upload a file via FTP on iOS or macOS
View FTPUpload.swift
import Foundation
import CFNetwork
public class FTPUpload {
fileprivate let ftpBaseUrl: String
fileprivate let directoryPath: String
fileprivate let username: String
fileprivate let password: String