I'd take a look at Apple's documentation for CFNetwork as a good start. That should give you an idea of whats available within the framework. What are you downloading from? E.g. ftp server
If you are downloading from an ftp server, Apple provide a sample code which provides upload/download/listing of an ftp server.