NppFTP icon indicating copy to clipboard operation
NppFTP copied to clipboard

Cannot open remote filename of 128 characters

Open Chingkhuba opened this issue 5 years ago • 2 comments

Description of the Issue

Trying to load a remote file locally on Notepad++ through NppFTP plugin. When the filename exceeds 127 characters, the file fails to open on the editor. The filename length being considered is inclusive of the file paths length. If I reduce the filename length or the file path such that the overall length is less than 128 characters, then it works.

Steps to Reproduce the Issue

  1. Create a file at any path on the remote server such that the total length of the filename including the path is at least 128 characters.
  2. Click on the created path to download and load on notepad++.
  3. It does not open the file.

Expected Behavior

It was expected to open the file but it didn't.

Actual Behavior

It does not open the file. For 128 character filenames(including the filepath), it does show opening file in the console logs, but does not open up. For filenames(including the filepath) greater than 128 characters, it does not even show the logs upon click.

Debug Information

Notepad++ v7.5.8 (32-bit) Build time : Jul 23 2018 - 02:03:53 Path : C:\Program Files (x86)\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 10 (64-bit) Plugins : ComparePlugin.dll JSMinNPP.dll LuaScript.dll NppFTP.dll PluginManager.dll DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

zlib version: 1.2.8 libssh version: 0.6.5 openssl version: openssl 1.0.2a 19 mar 2015 npp ftp version: 0.26.3 Unicode

SFTP

private keyfile, ask for password

Not anonymous, a private cloud server hosting SSH, hence connecting through SFTP with private key authentication

Chingkhuba avatar Oct 18 '18 17:10 Chingkhuba

@Chingkhuba Any specific reason not to use the current version https://github.com/ashkulz/NppFTP/releases/tag/v0.27.5 ?

chcg avatar Oct 21 '18 13:10 chcg

@chcg Tried the same updating to latest version v0.27.5, but still the same behavior.

Chingkhuba avatar Nov 28 '18 17:11 Chingkhuba