this comment is about mfmt issue
i will analyze other issues (time comparison and --no-update-xxx) later
2021/07/19 18:55:06 DEBUG : FTP Rx: " MFMT"
2021/07/19 18:55:06 DEBUG : FTP Rx: " MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.groupname*;UNIX.mode*;UNIX.owner*;UNIX.ownername*;"
ftp server advertises MFMT
ftp backend in mainstream rclone would just ignore it
i added code to pick it so we can have modtime change support in rclone
2021/07/19 18:55:06 DEBUG : FTP Tx: "MFMT 20060918115522 /test_rclone/current/project1.compiled"
my code decides to use MFMT to set transferred file time (mainstream ftp backend would not even try, it just reports modtime unsupported).
probably it should obey --no-update-modtime and skip setting time but it's another story
2021/07/19 18:55:06 DEBUG : FTP Rx: "226 Transfer complete"
2021/07/19 18:55:06 DEBUG : FTP Tx: "MKD /test_rclone/old_2021-07-19_18-55"
the log also shows parallel actions from other threads interleaved
note: ftp backend has internal concurrency, so setting --transfers 1
with it is not enough, we'd better use
--transfers 1 --checkers 1 --ftp-concurrency 1 --log-format date,time,microseconds --dump bodies -vv --log-file log
but even without that i think i can guess what's really related to your issue as i worked with rclone ftp recently
2021/07/19 18:55:06 DEBUG : FTP Rx: "501 /test_rclone/current/project1.compiled: Operation not permitted"
2021/07/19 18:55:06 ERROR : project1.compiled: Failed to copy: SetModTime: 501 /test_rclone/current/project1.compiled: Operation not permitted
ftp server returns error to MFMT contrary to advertising it before
ok, yet another ftp server madness
we already had disable_epsv
and disable_mlsd
to solve your case i'm gonna add disable_mfmt
btw, proftpd in 1.3.2 introduced tls support, but if it was compiled with openssl, it was buggy, because stubborn openssl guys introduced quirks in tls transactions timings.
boringssl from google did not have these quirks. after 2 years of quirrels with openssl devs (i added links to their hot threads on this forum) some bold proftpd guy found a way to mitigate openssl quirks, so in proftpd 1.3.7a and later it looks better (in my config for hetzner i don't need to disable tls13, it just workd).
so i added disable_tls13
to mitigate older proftpd.
to understand why rclone copied some files but not others i'm also gonna add output of parsed MLSD
(listing) to see what times/sizes ftp backend sees in reality. some fkng ftp servers just don't include file year in the listing so my code tries its best and can default to current year after heuristics, and this can distort the time seen. mainstream rclone just declared modtime unsupported, at all.