Erel,
Sorry, it still doesn't work!
I upgraded net library to version 1.21 (07.06.2012).
The complete code of my FTP client is part of an android service:
Sub Process_Globals
Dim FTP_Client As FTP
…..
....
End Sub
Sub Service_Start (StartingIntent As Intent)
FTP_Client.Initialize("FTP_Client", oFTP_IP, oFTP_Port, oFTP_User, oFTP_Passw)
..........
.........
End Sub
Sub Service_Destroy
FTP_Client.CloseNow
Log("FTP Service killed")
End Sub
If timer detects a failed connection to FTP server it calls
StopService("")
So I assume that I have done what you have recommended to me:
- Upgrading net library
- re-Dim and reinitialize FTP_Client
Thx