i have a string named url i.e
NSString *url = @"http://sound17.mp3pk.com/indian/barfi/%5BSongs.PK%5D%20
Barfi%20-%2001%20-%20Barfi!.mp3";
Now I am downloading this song and to save this I need to specify filename.I want the filename in such a way that It should take the file name itself from url.like in this url,It should take %5BSongs.PK%5D%20
Barfi%20-%2001%20-%20Barfi!.mp3
which is the file name in the url but should not be consist of Url formatters.
what I am doing is
Dest_path=[NSHomeDirectory() stringByAppendingString:@"/Documents/a3"];
result =[Dest_path stringByAppendingString:@".mp3"];
helper = [DownloadHelper download:url withTargetPath:result withDelegate:self];