NppFTP
NppFTP copied to clipboard
Notepad++ with NppFTP version 0.26.3 - Reconnecting to remote folder takes 30-60 seconds
Description of the Issue
Notepad++ with NppFTP version 0.26.3 - Reconnecting to remote folder takes 30 to 60 seconds. This is the case when there is no activity for a while (10 minutes). When trying to open a remote folder or trying to download a file, there is a waiting time of 30 to 60 seconds, without any notification for the user. At first I thought that NppFTP hanged and was unresponsive, but since the expected opening/downloading is done eventually, I guess it has to do with reconnecting or reauthenticating..whatever it is, it takes way too long. Filezilla has none of this behaviour..they do something right what NppFTP is not doing. Drawback of Filezilla is that it does not have a built in code editor like Notepad++
Steps to Reproduce the Issue
Connect to remove server using SFTP with SSH key authentication, Open up some remote folders Do nothing for 10 minutes Try to open an unopened folder or try to dowload a file, or try to save a file that is opened in Notepad++
Expected Behavior
No waiting, direct opening of remote folders/direct downloads
Actual Behavior
Reopening not opened folders in the remote folder tree takes 30 to 60 seconds.
Debug Information
Notepad++ v7.4.2 (32-bit) Build time : Jun 18 2017 - 23:34:19 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll type of FTP connection: SFTP type of password: private keyfile
It appears in the connection window that the waiting takes place before the 'Hostkey accepted' message comes through.
@Corvalan Could you update to version 0.27.1 and check if the behaviour is still present?
@Corvalan You may want to test current release https://github.com/ashkulz/NppFTP/releases/tag/v0.28.0 which contains updated libssh version 0.8.6 with performance improvements.