A ajk Active Member Licensed User Longtime User Sep 1, 2012 #1 When I turn off wifi and gsm (there are really no network access), I get an error: java.net.UnknownHostException:Unable to resolve host "lexa-main-no-ip.baz": No address asscociated with hostname. It is obwious. But how to cath this? PS with wifi or gsm turned on FTP (lib 1.3) works perfect Last edited: Sep 1, 2012
When I turn off wifi and gsm (there are really no network access), I get an error: java.net.UnknownHostException:Unable to resolve host "lexa-main-no-ip.baz": No address asscociated with hostname. It is obwious. But how to cath this? PS with wifi or gsm turned on FTP (lib 1.3) works perfect
Erel B4X founder Staff member Licensed User Longtime User Sep 1, 2012 #2 Success will be False in the complete events. Upvote 0
A ajk Active Member Licensed User Longtime User Sep 1, 2012 #3 Yes, it is false and I can see it in device log. But my question is: "How to avoid the message pop up to user"? Upvote 0
Yes, it is false and I can see it in device log. But my question is: "How to avoid the message pop up to user"?
mc73 Well-Known Member Licensed User Longtime User Sep 2, 2012 #4 Try: B4X: Sub FTP_UploadCompleted (ServerPath As String, Success As Boolean) If Success = False Then Return Else 'place your code here after successful upload End If End Sub Upvote 0
Try: B4X: Sub FTP_UploadCompleted (ServerPath As String, Success As Boolean) If Success = False Then Return Else 'place your code here after successful upload End If End Sub