

You can use this to compare multiple files at the same time. WinSCP will popup a WinMerge window for each pair to be compared. This will happen because WinMerge doesn't know what you want to compare until you have selected a file on both the local and remove sides. A few notesįirst, you may notice that the WinMerge button is greyed out at times. You can do this with almost any tool that accepts command line parameters. Now you can compare your online and offline text source code using the new WinMerge button in the toolbar:Īs you may have noticed, I use this technique to create additional useful toolbar command to test my PHP code for syntax errors. Right click on any of icons in the toolbar.Next, make the Custom Command Bar visible:


In the left pane of the Preferences dialogue box, click Commands.Click Options > Preferences in the WinSCP menu.Like most of WinSCP's features, you have to be logged in to see its main user interface. Launch WinSCP and login to an FTP site.Doing this once in a while isn't too inconvenient but if you need to compare online and offline files regularly or compare very large files, this process can quickly become a real pain. When comparing online and offline source code files, the process is typically to download the online file over FTP or SCP using WinSCP and then compare that to a local version of the file using some file comparison tool or eye-balling the two files in a code editor by flipping back and forth. In this article, I will describe how to integrate WinMerge into WinSCP to compare a local version of a file to a remote version. One of the many really cool features of WinSCP is the ability to add custom commands.
