idiomorgata
New Member
I am trying to download a \[code\]mp3\[/code\] file at a given link using \[code\]NSURLConnection\[/code\]. However, I usually get time-out errors. Entering the link into the browser shows the default player, however the music file is not loaded either:
However, if I create the following simple HTML file:\[code\]<html> <body> <a href="http://stackoverflow.com/questions/13777843/link_to_the_mp3" target="_blank">Download</a> </body></html>\[/code\]And then load the file into Safari, right click on the \[code\]Download\[/code\] link, then select \[code\]Download to Computer\[/code\] (or whathever it's called in English), Safari downloads the file.Any ideas on how I can implement this in my own app?