HI, All
Why FTPEntry is read-only ? It would be convenient to store there info during work with FTP.
Who is Java-master, maybe to recompile the NET lib to have FTPEntry something like...
B4X:
Type FTPEntry2(id As Int, name As String, timestamp As Long, size As Long, FTPpath As String, LocalPath As String, status As String, DeleteAfter As Boolean) 'writable file info structure (FTP FTPEntry structure is read-only)
I like the Type as it's easy to update and upgrage, but it needs lots of subs that all have the loop to work with such custom array, or list. To get any info, or save it - it needs to iteray the list .... Head is in pain
Issue is that FTPEntry can be got only after FTP.List, of all the files, and it's hard to process each file one by one: check, download if new, check again...