Open KillerByteUK opened 3 years ago
There are already some issues open regarding "special" characters (https://gist.github.com/doctaphred/d01d05291546186941e1b7ddc02034d3) not supported by the windows filesystem, but e.g. by Linux on the ftp server. This might be a similar issue that breaks the cache hit by a misinterpretation of the \ in the username as folder separator. Some escaping is missing for such input.
I've run into this issue myself. I love Notepad++ and this plugin, but I can't use it for my work until this is fixed.
Is anyone still maintaining this plugin? I'd be willing to try fixing the issue myself, but all my relevant experience is in C and C#. I've never used C++ and have no idea where to look in the code.
I have the same issue when trying to save files to Azure WebSite with NppFTP. Are there any workaround?
@Yngve0 Under NppFTP Toolbar->Settings->General Settings you could try to remove the username from the cache:
%CONFIGDIR%\Cache\%USERNAME%@%HOSTNAME%
-> %CONFIGDIR%\Cache\%HOSTNAME%
if that is sufficient for your setup of ftp sites. Otherwise in the profile settings you could setup individual cache path, see docu https://ashkulz.github.io/NppFTP/ or https://github.com/ashkulz/NppFTP/blob/master/docs/index.md#cache-paths.
Description of the Issue
When attempting to save using the FTP credentials for an Azure Web App, the session gets disconnected and no data is saved. The FTP credentials work successfully to retrieve the file listing and download files but upon saving the console shows that 'Quit' is sent which causes the connection to disconnect. One theory is that this may be because Azure Web App FTP credentials use a backslash in the username.
Steps to Reproduce the Issue
Expected Behavior
File with amendments should be uploaded to the FTP site
Actual Behavior
Quit message is sent to the FTP site which then returns Disconnected
Debug Information
Notepad++ v7.9.1 (64-bit) Build time : Nov 2 2020 - 01:07:46 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 2009 OS Build : 19042.804 Current ANSI codepage : 1252 Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll NppFTP version: 0.29.6 Unicode Type of FTP connection: FTP, FTPS --> Type of authentication: password