I am trying to implement FTP in to an app. I downloaded the net library as instructed and put the files in the .zip where instructed. But FTP does not show up as a an object as the tutorial said it should. I am pretty sure this is simple, but what else do I have to do to reference to a file in the libraries folder
Well I thought I had it working, but now although it lets me declare FTP. it errors when I run it. I commented out everthing but the declaration an still get the result below.
I would appreciate any ideas.
Thanks
Sub Process_Globals
Dim FTP As FTP
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
' If FirstTime Then
' FTP.Initialize("FTP", "ftp.ebarcom.com", 21, "xxx", "xxxx")
' End If
End Sub
1. Don't use the Android emulator. It is slow and unreliable. You can use B4A-Bridge or USB debug mode to connect to a real device.
2. You should run your app in debug mode and see the full error message in the the logs.
I connected and ran it on an android phone with the same result. I uninstalled all instances of the program from the phone before starting.
Cleared the Logs and captured the below: It looked like it installed correctly but it would not run. Does FTP need any other libraries other than NET. I included my library settings below.
Any other ideas. I can host a teamviewer session for you if you think that will help