Skip to content

Automatically upload all files saved in source directory, and then delete the uploaded files.

License

Notifications You must be signed in to change notification settings

yonat/DirectoryUploader

Repository files navigation

DirectoryUploader

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

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

About

Automatically upload all files saved in source directory, and then delete the uploaded files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published