cirollo Active Member Licensed User Longtime User Dec 21, 2011 #1 ....just to know, when downloading some files with ftp library how can i check that is all downloaded before proceding with elaboration? there is the sub FTP_DownloadCompleted (ServerPath As String, Success As Boolean) but i don't know how to check it
....just to know, when downloading some files with ftp library how can i check that is all downloaded before proceding with elaboration? there is the sub FTP_DownloadCompleted (ServerPath As String, Success As Boolean) but i don't know how to check it
vb1992 Well-Known Member Licensed User Longtime User Dec 21, 2011 #2 B4X: FTP_DownloadCompleted (ServerPath As String, Success As Boolean) If Success = true then MsgBox("File is done","TRUE") end sub Upvote 0
B4X: FTP_DownloadCompleted (ServerPath As String, Success As Boolean) If Success = true then MsgBox("File is done","TRUE") end sub
Erel B4X founder Staff member Licensed User Longtime User Dec 21, 2011 #3 It is explained in the tutorial: Basic4android Search: FTP Tutorial Upvote 0
cirollo Active Member Licensed User Longtime User Mar 27, 2012 #4 I know Erel, I know the FTP_DownloadCompleted Sub but I need to check it before trying to download a file, only to check if the logon is successfull is possible? Upvote 0
I know Erel, I know the FTP_DownloadCompleted Sub but I need to check it before trying to download a file, only to check if the logon is successfull is possible?
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2012 #5 If you want to check the connection you can use FTP.List and check ListCompleted event. Upvote 0
T tony2socks Member Licensed User Longtime User Dec 7, 2012 #6 FTP_DownloadCompleted doesn't seem to catch on an emulator running 2.2 Android. Any insight on this? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2012 #7 1. Try to use Passive mode. 2. I recommend you to use a real device instead. Upvote 0