Possible Duplicate:
Download music file from server and save in my app
I need only one thing to finish my program, please help.
My app is streaming music from a server, and I need to put button so that if the user presses it the music will start downloading. After it finishes downloading, it saves the file in his iPhone and he can play it from his iPhone. Any code I appreciate your help.