ashkulz / NppFTP

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

ip:port not supported #241

Open sbeland2 opened 5 years ago

sbeland2 commented 5 years ago

Description of the Issue

i have many port that connect to same ip address, the profiles contains their respective port but when opening different ip:port combination, the plugin will always save to the first matched ip.

Steps to Reproduce the Issue

  1. open 2 files at same ip address but different port
  2. save each of them, you will notice it is being save on the first matched ip

Expected Behavior

when saving, it should save at the corresponding ip:port

Actual Behavior

it is saving at the first ip that match even there is many ip's with different port

chcg commented 5 years ago

The local cache at %APPDATA%\Notepad++\plugins\config\NppFTP\Cache just contains as folder password@ip, but not the port. This is probably the problem here. This would need an extension of the folder name to contains also the port.