Beyond Compare is a cross platform data comparison application. This applies to directories. It also has a Synchronize/‘sync base folders’ function. FTP/S, SFTP, S3, WebDAV, Dropbox is supported, license dependant. Conveniently, their beta 5 also features a dark mode. A 30 day trial is available.