ashkulz / NppFTP

Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications
https://ashkulz.github.io/NppFTP/
320 stars 93 forks source link

Pipe character "|" in user name: Failed to create directory ..... with errorcode 123 #293

Open luciofassio opened 3 years ago

luciofassio commented 3 years ago

Description of the Issue

If the FTP user name contains a pipe "|" i get an error code 123 when i try to edit any file

Steps to Reproduce the Issue

  1. create an FTP user name with a pipe inside, for example: server|userlogin
  2. create a profile in NPPFTP with such user name
  3. connect with the server
  4. double click on any file to edit it
  5. you get: Failed to create directory C:\Users\lfassio\AppData\Roaming\Notepad++\plugins\Config\NppFTP\Cache\server|userlogin\ with errorcode 123

Expected Behavior

The file should be displayed and modifiable

Actual Behavior

No file is displayed

Debug Information

Notepad++ v7.8.7 (32-bit) Build time : Jun 5 2020 - 02:34:28 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 1803 OS Build : 17134.1667 Current ANSI codepage : 1252 Plugins : ComparePlugin.dll HTMLTag_unicode.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PoorMansTSqlFormatterNppPlugin.dll XMLTools.dll

type of FTP connection: FTP type of authentication: passworD