we were working on a old App working perfect on B4A 5.x and we've decide to introduce some improvements but when testing we've noticed that FTP _UploadCompleted event is not fired in B4A 6.50.
The App has the INTERNET permission to use FTP object. I've isolated the problem and done a small FTP client but we are experiencing the same problem. User and Password of FTP is right and we've tested previously with Filezilla.
Is anything new to consider when compiling a B4A v5.xx App code in the new environment?
The file is not big enough, arround 400 kB. The same code work perfect in B4A v5.xx. Is there any differences to take into accound about permissions for example?
i tried your code. i do not have the file you mentioned in code (file to upload).
I just used one existing pic on my device.
and i changed the log a bit...
B4X:
Sub miFTP_UploadCompleted (ServerPath As String, Success As Boolean)
Log($"miFTP_UploadCompleted (${ServerPath}, ${Success})"$)
'Log(ServerPath & ", Success=" & Success)
If Success = False Then Log(LastException.Message)
End Sub
I'm connected through Bridge and WiFi but now after a stroll on my city I've seen the light clearly what's my mistake obviously related to my smartphone
Several months ago I've tried an App called Protect which is basically a firewall inside the smartphone. This service was stopping FTP outgoing connections.