This works:
but this does not:
Obj_FTPClient is declared as:
Private Obj_FTPClient As FTP
in Process_Globals.
Anyone have any clues?
B4X:
'Download new control file
Obj_FTPClient.DownloadFile("X\" & wrk_phn_imei & ".txt", False, File.DirInternal, "scenes2_control.txt")
'Wait for download to complete...
Wait For Event_obj_ftpclient_DownloadCompleted(ServerPath As String, Download_success As Boolean)
but this does not:
B4X:
'Download new control file
Obj_FTPClient.DownloadFile("X\" & wrk_phn_imei & ".txt", False, File.DirInternal, "scenes2_control.txt")
'Wait for download to complete...
Wait For (Obj_FTPClient) Event_obj_ftpclient_DownloadCompleted(ServerPath As String, Download_success As Boolean)
Obj_FTPClient is declared as:
Private Obj_FTPClient As FTP
in Process_Globals.
Anyone have any clues?