1. 程式人生 > >Notepad++ 安裝 NppFTP 插件

Notepad++ 安裝 NppFTP 插件

pro 配置文件 procedure head res some document 重新 alt

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/ <<

Notepad++ 安裝 NppFTP 插件