Open rebpgh opened 6 years ago
For SFTP no parameters could be added to the list call as https://api.libssh.org/stable/group__libssh__sftp.html is used. See https://github.com/ashkulz/NppFTP/blob/master/src/FTPClientWrapperSSL.cpp#L119 vs. https://github.com/ashkulz/NppFTP/blob/master/src/FTPClientWrapperSSH.cpp#L110
Description of the Issue
I use NPPFTP to connect to our SFTP Linux servers (RedHat 7.3). In my Profile(s), under FTP Misc. I use a LIST Parameters value of -l (I don't want to see hidden files). This option has never worked.
Steps to Reproduce the Issue
Expected Behavior
The Folder/File tree list should not list any folder or file beginning with a "."
Actual Behavior
See images. Hidden files and folders always show.
Debug Information
authentication: password Notepad++ v7.5.4 (32-bit) Build time : Jan 1 2018 - 01:47:45 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : ON Local Conf mode : OFF OS : Windows 7 (64-bit) Plugins : ComparePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll NppTextFX.dll PluginManager.dll PythonScript.dll XMLTools.dll
Looking at https://github.com/ashkulz/NppFTP/blob/v0.27.1/src/FTPProfile.cpp
under FTPClientWrapper* FTPProfile::CreateWrapper() {
I see the following: case Mode_FTP: case Mode_FTPS: case Mode_FTPES: { SSLwrapper->SetListParams(m_ftpListParams);
But for case Mode_SFTP: { There's no SetListParams call. Shouldn't there be???? Thanks!