Please note that usually for the size of an mp3 you do not need the service solution
You can simply use a httputils-job for such small files
But from principle it works like
Dim OutStream As OutputStream
Log("DownloadReady: "&job.Tag)
OutStream = File.OpenOutput(File.DirRootExternal, job.Tag, False) ' Job.Tag is read to set the Original Filename we specify earlier in the creation of the Job
File.Copy2(job.GetInputStream,OutStream) ' save the file
OutStream.Close
Log(job.Tag&" written to "&File.DirRootExternal) ' Write the Originalname to the log to see what happens ;-)
Please note that this is an code from an app written by me using httputils-lib. And i´m storing the filename in the Tag of the job...
You need to fit this code to your needs!!