norsez / bdmultidownloader Goto Github PK
View Code? Open in Web Editor NEWSimple block-based concurrent multiple-URL data downloader based only on NSURLConnection
License: BSD 3-Clause "New" or "Revised" License
Simple block-based concurrent multiple-URL data downloader based only on NSURLConnection
License: BSD 3-Clause "New" or "Revised" License
Now that NSURLConnection is deprecated, will you be updating this excellent downloader to use the newer NSURLSession?
I'm downloading from Azure a lot of images (2000). If I get this error:
NSLocalizedDescription=The request timed out., NSUnderlyingError=0x8626d90 "The request timed out."}
More than once, the downloads get stuck and keep waiting forever.
Hi ,
I am using multiple files from server. Currently the server is updated to https
and i want to support using your library.What has to be done in order to https authentication challenges
Why not call NSURLConnection's cancel method in the _removeConnection. Hope for your answer.
get this error on iOS 7.1 with Xcode 5.1.1
Undefined symbols for architecture i386:
"_DLog", referenced from:
-[BDMultiDownloader connection:didFailWithError:] in BDMultiDownloader.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[BDMultiDownloader shared].onDownloadProgressWithProgressAndSuggestedFilename = ^(double progress, NSString* file){
NSLog(@"%d %% %@", (int)(progress * 100), file);
};
The parameter 'file' is the last path component of the downloaded url.
But in my case, the download url was "https://api.soundcloud.com/tracks/1234567/download".
So the file name was "download".
Issue:
In this case couldn't distinguish several files' download progress that were downloaded concurrently because they all have the same name : 'download'.
Suggestion:
I think there must be an identifier for every download task.
one small issuse O(∩_∩)O~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.