sub transfer
Do While id < 5
id = id + 1
'Start download2 with parmeters'
Dim j As HttpJob
j.download2(url_a, para)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
txtInfo.Text=txtInfo.Text & j.GetString & CRLF
Log(j.GetString)
SendMessage_Stunde(id) 'Sending sub data stuff'
End If
j.Release
Loop
txtinfo.text = "End"
end sub
sub SendMessage_Stunde(id as long )
dim i as int
for i=1 to 3
Dim j As HttpJob
j.download2(url_a, para)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
txtInfo.Text=txtInfo.Text & j.GetString & CRLF
Log(j.GetString)
end if
next
end sub