Android Question FTP wait

Nand2000

New Member
Hi everyone, I use the FTP methods of the Net library, but from the program there is no wait for completion (using the Wait For lines), the program says that the files have been sent, but the files appear on the FTP server only after ten-twenty seconds later. Same thing for downloading (files appear later on the phone). Is there a way to get feedback on the completion of the FTP operations? Thanks.

Example code:

Dim ftpUpload As Object = ftpEngine.UploadFile(BaseDir , sImage, False, sImage)
Wait For (ftpUpload) ftp_UploadCompleted(ServerPath As String, Success As Boolean)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…