开发者

How to easily compare local and remote files via SFTP

I would like to compare local and remote files v开发者_运维知识库ia sftp or other method, dreamweaver has the option of doing this in your favorite merge editor (i like winmerge), but I am not using dw at this juncture. Are there any other decent (windows7) programs out there that do synchronize and compare nicely?


Beyond Compare does (using our SFTP components BTW), but the way is not quite obvious -- you need to enter the URL in the form of "sftp://username@host.tld/path/to/directory/" as a directory to compare. I have yet to find how to store this string in some reusable way in Beyond Compare.

Upd: Forgot to mention that Beyond Compare handles regular FTP and FTP-over-TLS as well.


We use Beyond Compare here too. In DreamWeaver you can identify a compare program to use during synchronization - click CTRL-U to open the Preferences dialog box; the option you want is about half way down: "File Compare". There you enter the *.exe program location for the compare application you wish to interact with DreamWeaver. If you DreamWeaver is connected to a remote server click on the root folder or a folder you wish to compare, right click and choose 'Synchronize'. Dreamweaver will use it's FTP settings to find differences in files, if you choose compare the FTP (or SFTP) facilities in DreamWeaver will download the remote file to a temporary location and will engage the Compare Software you have instructed it to in your DreamWeaver Preferences.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜