WinSCP is a file transfer client for windows. It has a nice graphical user interface and is a good choice for transferring files between windows and linux.
This client can be configured to provide a simple yet powerful graphics environment when editing on windows and compiling on a remote linux machine.
WinSCP has the option of using a built-editor or an editor that has been installed on the windows computer. It has notepad configured for this option by default. Unfortunately neither of these are particularly well suited for coding. It is relatively easy to configure WinSCP to use any editor installed on the windows computer.
A minor change needs to be made to WinSCP to prevent this software from changing the timestamp on the remote machine, thus confusing the make system.
In order to perform this procedure, you should have an alternative text editor installed on your windows computer. This example will show how to configure WinSCP to use Notepad++. The example assumes that Notepad++ is already installed.
At the time of writing the default configuration for WinSCP attempts to preserve the time stamp for files transferred. This behavior will cause a problem for tools such as make as it will set the timestamp for the file incorrectly.
Note that the time for the file main.cpp is only the date, not the date and time. Also notice that make flags this as an error.
To correct this problem:
Note the time is now included for the file main.cpp and make no longer reports an error.