ashkulz / NppFTP

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

SFTP disconnects on save #357

Open Ragonz opened 12 months ago

Ragonz commented 12 months ago

Description of the Issue

I open a connection via sftp to my website, open a file, edit the file then click save. nppftp then disconnects from sftp immediatly

Steps to Reproduce the Issue

  1. connect to an sftp website (I use ghandi) using username/password
  2. open a php file
  3. modify it then try to save

Expected Behavior

The file saves as normal like with a standard ftp connection

Actual Behavior

nppFTP immediatly disconnects upon saving

Connecting [SFTP] Host key accepted [SFTP] Successfully authenticated Connected [SFTP] Host key accepted [SFTP] Successfully authenticated Download of /vhosts/websitename/htdocs/about.php succeeded, opening file. Disconnected

between opening file and disconnected the only thing done is change 1 character in the php file then click the save icon

Notepad++ v8.5.4 (64-bit) Build time : Jun 17 2023 - 20:42:45 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : C:\Users\James\AppData\Local\Temp\fz3temp-2\index.php Admin mode : ON Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Pro (64-bit) OS Version : 21H2 OS Build : 19044.3086 Current ANSI codepage : 1252 Plugins : mimeTools (2.9) NppConverter (4.5) NppExport (0.4) NppFTP (0.30.16)

NppFTP version 0.30.16 zlib verison 1.2.13 libssh version 0.10.5 Openssl version OpenSSL 1.1.1u

chcg commented 10 months ago

Is this also happening if you use the none beta version of NppFTP https://github.com/ashkulz/NppFTP/releases/tag/v0.29.12?