All Projects → AlanQuatermain → AQStreamDownloader

AlanQuatermain / AQStreamDownloader

Licence: BSD-3-Clause license
A simple class to download a stream to disk or to a memory block

Programming Languages

objective c
16641 projects - #2 most used programming language
C++
36643 projects - #6 most used programming language

AQStreamDownloader

Version 1.0 — 26 April 2010

By Jim Dovey

Introduction

This is a simple class which will download anything arriving from a given NSInputStream (or CFReadStream, CFHTTPReadStreamRef, CFFTPStreamRef, etc.) to a file or to a block of memory. You can specify an output file path, or you can let the class choose one for you.

Dependencies

The temp-file support in this class makes use of an NSFileManager class I wrote a while back, available as part of AQToolkit. Look in the TempFiles folder for the relevant class, or replace with a simple NSTemporaryDirectory() wrapper of your own.

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].