HI, All
Who works with FTP servers, please help.
If i need to sync files from FTP - i have to compare only file size or time.
File size is OK, but .... not "true way"
Time: FTPEntry object from NET lib has "Timestamp", downloaded file has File.LastModified time.
Is Timestamp the time of saving moment that FTP server provides ?
LastMobified - is it always the same - on FTP or after downloading the file ? Or also Android system updates it when file is saved into a folder ?
FTP servers has different time zones.... If i log these 2 Long digits - server's digit is always bigger than my local LastModified.
How to sync files, to download only new version (latest by time) of each file ?
Who works with FTP servers, please help.
If i need to sync files from FTP - i have to compare only file size or time.
File size is OK, but .... not "true way"
Time: FTPEntry object from NET lib has "Timestamp", downloaded file has File.LastModified time.
Is Timestamp the time of saving moment that FTP server provides ?
LastMobified - is it always the same - on FTP or after downloading the file ? Or also Android system updates it when file is saved into a folder ?
FTP servers has different time zones.... If i log these 2 Long digits - server's digit is always bigger than my local LastModified.
How to sync files, to download only new version (latest by time) of each file ?