Android Question Wait For FTP Upload Completed - Compiling Error

DaOel

Member
Licensed User
Longtime User
Hello!
I have the following problem: Whenever I add a Wait For FTP Upload Completed Statement into a B4A service I receive the following error message while compiling:


For now i would only like to show this part of code (I think its the only relevant pieces) The whole program became huge...

B4X:
[...]
GlobalFunctions.WriteALLStudentsToCSV
wait for FTP_UploadCompleted (ServerPath As String, Success As Boolean)
[...]

[...]
Sub FTP_UploadCompleted (ServerPath As String, Success As Boolean)
    If LastException.IsInitialized Then
[...]

End Sub

without the Wait For Part it compiles without problems.

Globalfunctions.WriteAllStudentsToCSV is a function within a 'code module', that contains an ftp.upload() function.
(*ftp object is declared within the starter service.)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…