If Job.Success Then
Dim Out As OutputStream
Out = File.OpenOutput(File.DirRootExternal ,Job.JobName,True)
File.Copy2(Job.GetInputStream, Out)
Out.Close
Log("Succes Downloading file : " & Job.JobName)
Else
Log("Error downloading image: " & Job.JobName & CRLF & Job.ErrorMessage)
End If
Log("JobName = " & Job.JobName & ", Success = " & Job.Success)
Job.Release
bm.Initialize(File.DirRootExternal ,Job.JobName)
blist.Add(bm)
Log("belist size : " & blist.Size)