All Projects → mzeeshanid → Mzdownloadmanager

mzeeshanid / Mzdownloadmanager

Licence: bsd-3-clause
This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Mzdownloadmanager

Rxdownloader
Demo of Downloading Songs/Images through Android Download Manager using RxJava2
Stars: ✭ 166 (-84.35%)
Mutual labels:  downloader, downloadmanager
Downloader
Downloader for android with pause, resume, cancel, queue options
Stars: ✭ 40 (-96.23%)
Mutual labels:  downloader, downloadmanager
Docker Jdownloader
JDownloader 2 Docker Image (Multiarch) - Passed 40M Downloads
Stars: ✭ 85 (-91.99%)
Mutual labels:  downloader, downloadmanager
Fetch
The best file downloader library for Android
Stars: ✭ 1,124 (+5.94%)
Mutual labels:  downloader, downloadmanager
uget
(WIP) Universal Getter of remote files
Stars: ✭ 46 (-95.66%)
Mutual labels:  downloader, downloadmanager
DownloadManagerPlus
Using faster and easier than Android Download Manager
Stars: ✭ 80 (-92.46%)
Mutual labels:  downloader, downloadmanager
Pyload
The free and open-source Download Manager written in pure Python
Stars: ✭ 2,393 (+125.54%)
Mutual labels:  downloader, downloadmanager
Androiddownloader
An powerful download library for Android.
Stars: ✭ 287 (-72.95%)
Mutual labels:  downloader, downloadmanager
VandaDownloader
强大的下载特性支持,更加清晰的特性设计。
Stars: ✭ 25 (-97.64%)
Mutual labels:  downloader, downloadmanager
android-downloader
An powerful download library for Android.
Stars: ✭ 375 (-64.66%)
Mutual labels:  downloader, downloadmanager
dl
Command-line file downloader tool
Stars: ✭ 39 (-96.32%)
Mutual labels:  downloader, downloadmanager
Fast Android Networking
🚀 A Complete Fast Android Networking Library that also supports HTTP/2 🚀
Stars: ✭ 5,346 (+403.86%)
Mutual labels:  downloader, downloadmanager
Ytspotifydl
Youtube and Spotify music downloader with metadata.
Stars: ✭ 34 (-96.8%)
Mutual labels:  downloader
Imgbrd Grabber
Very customizable imageboard/booru downloader with powerful filenaming features.
Stars: ✭ 1,006 (-5.18%)
Mutual labels:  downloader
Geoip Updater
Download and update MaxMind's GeoIP2 databases on a time-based schedule
Stars: ✭ 29 (-97.27%)
Mutual labels:  downloader
Horrible Downloader
horriblesubs.info python API and CLI
Stars: ✭ 28 (-97.36%)
Mutual labels:  downloader
Tidal Media Downloader
Download 'TIDAL' Music On Windows/Linux/MacOs (PYTHON/C#)
Stars: ✭ 1,024 (-3.49%)
Mutual labels:  downloader
Go Download
Library for interruptable, resumable download acceleration with automatic Accept-Ranges support
Stars: ✭ 40 (-96.23%)
Mutual labels:  downloader
Cryptoinscriber
📈 A live cryptocurrency historical trade data blotter. Download live historical trade data from any cryptoexchange, be it for machine learning, backtesting/visualizing trading strategies or for Quantopian/Zipline.
Stars: ✭ 27 (-97.46%)
Mutual labels:  downloader
Youtube Dl Gui
A cross platform front-end GUI of the popular youtube-dl written in wxPython.
Stars: ✭ 7,914 (+645.9%)
Mutual labels:  downloader

MZDownloadManager

CI Status Version License Platform

mzdownload manager hero

Features

This download manager uses the URLSession api to download files.

  • Can download large files if app is in background.
  • Can download files if app is in background.
  • Can download multiple files at a time.
  • It can resume interrupted downloads.
  • User can also pause the download.
  • User can retry any download if any error occurred during download.

Screencast:

http://screencast.com/t/Rzm0xoRjGF

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 8
  • Minimum deployment target is iOS 9.
  • For resuming downloads server must have resuming support.

Installation

MZDownloadManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MZDownloadManager"

To install it by using Swift Package Manager:

Update

New helper functions added to support downloading at custom path. Example project is also updated about the usage.

To download file at custom path you can use the following instance method of MZDownloadManager:

public func addDownloadTask(fileName: String, fileURL: String, destinationPath: String)

When download completes:

  • It will check if the destination folder still exists then it will move the downloaded file at the specified destination and call success delegate method.
  • If destination folder does not exists, following delegate method will provide an opportunity to handle the downloaded file appropriately.

optional func downloadRequestDestinationDoestNotExists(downloadModel: MZDownloadModel, index: Int, location: NSURL)

  • If the above delegate method is not implemented then it will just called the failure method.

Important: This delegate method will be called on the session's queue.

Author

Muhammad Zeeshan, [email protected]

If you find MZDownloadManager userful consider donating thanks ;) Donate button

License

MZDownloadManager is available under the BSD license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].