Notepad ++ nppftp does not reload modified files

I am using nppftp-plugin on sftp server. This works fine, but when the file on the server changes directly (or in parallel by someone else), npp does not detect this. Rebooting the file also does not read the modified content. I have to close the file and open it again to get new content. And what if I do not know that the file has been modified (for example, another encoder is editing the php file in parallel)

Is there any solution for this?

+4
source share
2 answers

An alternative solution could be:

  • using sshfs installation software for windows ( sftp-net-drive or Dokan or win-sshfs or similar) of the mount ssh file system.

  • use notepad ++ as if you were editing the file locally.

from the list, I prefer sftp-net-drive , it is more compatible with ssh servers and is configurable.

+4
source

No NPPFTP can synchronize it, it is not intended for this, but you can certainly write a script to copy the entire file from FTP to the local computer after each editing, using some other tools that will help.

+1
source

Source: https://habr.com/ru/post/1391765/


All Articles