Notepad++ 安装 NppFTP 插件

How to install a plugin

The plugin (in the DLL form) should be placed in the \plugins subfolder of the  Notepad++ intall folder .Configuration files should go in \Plugins\Config. Documentation files should go to \Plugins\Doc\ directory.

These are generic instructions. If the plugin comes with some different procedure, that procedure should be followed instead.

Once you installed the plugin, you can use (and you may configure) it via the menu "Plugins".

 以上是官网安装插件的资料

提君博客原创

 >>提君博客原创  http://www.cnblogs.com/tijun/  <<

第一步,下载NppFTP 插件

http://ashkulz.github.io/NppFTP/

自己的notepad++是多少位的,就下载相应的位数的插件。我的是32位的

第二步,把压缩文档中的bin目录下的NppFTP.dll文件解压到notepad++的plugin目录下

技术分享

 

第三步,重启notepad++,进行配置插件

1.notepad++的“插件”菜单,鼠标悬停在“NppFTP”项上,在出来的下级菜单中选中“Show NppFTP Window”

技术分享

 


2.在notepad++右侧会出现一个窗口,点击右边窗口的小齿轮,在弹出来的自己菜单中选择“Profile Setting”,出现“Profile Setting”对话框

技术分享

 


3.在对话框最左下角点击“Add New”,在弹出对话框中照自己的情况填写,我这里选择测连接类型是SFTP.

>>提君博客原创  http://www.cnblogs.com/tijun/  <<

技术分享

填完关闭页面

4.如果要连接的服务器上没有装vsftpd,很简单,一条指令安装即可

yum install vsftpfd

vsftpd是一个主打安全的FTP服务器。

提君博客原创

需要配置下文件,可以实现文件的上传和下载,方便在notepad++打开修改保存服务器上的文件

vi /etc/vsftpd/vsftpd.conf
write_enable = YES 
ascii_upload_enable = YES 
ascii_download_enable = YES

记得 重新启动一下服务

提君博客原创

service vsftpd restart 

5.notepad++的主页面,点击右侧NppFTP的工具栏第一像闪电的按钮,点击之后选择刚才编辑的sftp配置文件,就开始连接到ftp服务器上了。

技术分享

 

6.浏览sftp服务器文件操作和一般sftp文件无区别,遇到要编辑的文件直接双击打开,NppFTP会自动下载下来打开,编辑完毕之后按Ctrl+S保存即可自动上传到服务器上。
>>提君博客原创  http://www.cnblogs.com/tijun/  <<

文章来自:http://www.cnblogs.com/tijun/p/7569067.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3