The diff
command works only with file system accessible files and folders (i.e. mounted folders generally speaking).
If you can mount the folders, you'll be able to compare them with diff
, else you need to invest some time to find a good diff merge tool with FTP or SFTP or whatever access protocol that you need.