During a download of approx 1 MB, I get a java message that says : java.net.SocketTimeoutException: Read timed out
How can I set the timeout?
B4X:
s=Main.hostname & "uploads/" & fname
DoEvents
Dim jobdnld As HttpJob
jobdnld.Initialize ("dnld",Me)
jobdnld.Download (s)
Sub JobDone (job As HttpJob)
Dim t As String
If job.Success = True Then
Select job.JobName
Case "dnld":
...
End Select
Else
Msgbox (job.ErrorMessage,fname)
' here I see the error message
End If
end sub
How can I set the timeout?