vecino Well-Known Member Licensed User Longtime User Oct 23, 2018 #1 Hello, I am currently sending the command: Code: Copy FTPpro.SendCommand ("NOOP", "") And it is completed in: Code: Copy Sub FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) I would like to do it with wait for, but I can not find any thread where it is explained. How should I do it? Thank you.
Hello, I am currently sending the command: Code: Copy FTPpro.SendCommand ("NOOP", "") And it is completed in: Code: Copy Sub FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) I would like to do it with wait for, but I can not find any thread where it is explained. How should I do it? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Oct 23, 2018 #2 Code: Copy Dim sf As Object = FTPpro.SendCommand ("NOOP", "") Wait For (sf) FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) sf = the sender filter Upvote 0
Code: Copy Dim sf As Object = FTPpro.SendCommand ("NOOP", "") Wait For (sf) FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) sf = the sender filter
vecino Well-Known Member Licensed User Longtime User Oct 23, 2018 #3 Code: Copy Dim sf As Object = FTPpro.SendCommand ("NOOP", "") ''' <--- Cannot assign void value. Wait For (sf) FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) Hi, I do not know why this error occurs. Upvote 0
Code: Copy Dim sf As Object = FTPpro.SendCommand ("NOOP", "") ''' <--- Cannot assign void value. Wait For (sf) FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) Hi, I do not know why this error occurs.
vecino Well-Known Member Licensed User Longtime User Oct 23, 2018 #4 I guess it does not return anything, so it will be like this: Code: Copy FTPpro.SendCommand ("NOOP", "") Wait For FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) It is right? Upvote 0
I guess it does not return anything, so it will be like this: Code: Copy FTPpro.SendCommand ("NOOP", "") Wait For FTPpro_CommandCompleted (Command As String, Success As Boolean, ReplyCode As Int, ReplyString As String) It is right?
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2018 #5 Are you using the latest version of Net library? Should be v1.80. Upvote 0
vecino Well-Known Member Licensed User Longtime User Oct 24, 2018 #6 Ops!, the v1.62 I installed v1.80 and now it works fine. Is there no automatic notification when publishing a new version of any library? Regards. Upvote 0
Ops!, the v1.62 I installed v1.80 and now it works fine. Is there no automatic notification when publishing a new version of any library? Regards.
Erel B4X founder Staff member Licensed User Longtime User Oct 24, 2018 #7 vecino said: Is there no automatic notification when publishing a new version of any library? Click to expand... You should subscribe to these threads: https://www.b4x.com/android/forum/threads/subscribe-to-library-updates.25000/ And: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.76644/#content Upvote 0
vecino said: Is there no automatic notification when publishing a new version of any library? Click to expand... You should subscribe to these threads: https://www.b4x.com/android/forum/threads/subscribe-to-library-updates.25000/ And: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.76644/#content