Latest 1.2.0
Homepage https://github.com/yonat/DirectoryUploader
License MIT
Platforms ios 8.0, requires ARC
Dependencies iMonitorMyFiles, York-Swift-Try-Catch
Authors

Monitors a directory and automatically detects new files added to it. Uploads all files to a target URL, and cleans up afterwards.

Swift Version
Build Status
License
CocoaPods Compatible
Platform
PRs Welcome

Requirements

  • iOS 8.0+
  • Xcode 7.3

Installation

CocoaPods:

pod 'DirectoryUploader'

Manually:

Copy Sources/* to your Xcode project.

Usage

let uploader = DirectoryUploader(sourceDirectory: docDir, targetURL: endpointURL)
// now save files to docDir, and they will be automatically uploaded to endpointURL.

Meta

@yonatsharon

https://github.com/yonat/DirectoryUploader

Latest podspec

{
    "name": "DirectoryUploader",
    "version": "1.2.0",
    "summary": "Automatically upload all files saved in source directory, and then delete the uploaded files.",
    "description": "Monitors a directory and automatically detects new files added to it. Uploads all files to a target URL, and cleans up afterwards.nnUsage:nn```swiftnlet uploader = DirectoryUploader(sourceDirectory: docDir, targetURL: endpointURL)n// now save files to docDir, and they will be automatically uploaded to endpointURL.n```",
    "homepage": "https://github.com/yonat/DirectoryUploader",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "authors": {
        "Yonat Sharon": "[email protected]"
    },
    "social_media_url": "http://twitter.com/yonatsharon",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/yonat/DirectoryUploader.git",
        "tag": "1.2.0"
    },
    "source_files": "Sources/*.swift",
    "dependencies": {
        "iMonitorMyFiles": [],
        "York-Swift-Try-Catch": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This