之前我们发布了一个关于安装 FileZilla 客户端和服务器( installing FileZilla client and server)以及在多个客户端之间同步文件的完整截图教程。在这篇文章中,我将向您展示如何直接从 Notepad++(一个免费的Notepad 替代品)同步或访问(Notepad alternative)FTP 服务器(Server)上的文件。
如何使用Notepad++FTP 服务器(FTP Server)
Notepad++是一个相当小的应用程序,在您的驱动器上占用 5 MB。您需要有一个客户端应用程序来将文件传输到 FTP或Web 服务器(Web Servers)。在您将服务器与免费的 FTP 应用程序(free FTP application)FileZilla等客户端应用程序连接后,该文件随后会使用记事本或IDE进行编辑。
Notepad++NppFTP 插件(NppFTP plug-in)结合了不同应用程序的功能。这使您可以访问Web服务器上的所有文件和文件夹。此外,您还可以创建新目录。
让我们看看这个FTP插件在Notepad++
Notepad++ FTP连接设置
首先(First)你需要下载最新版本的Notepad++;安装几乎不需要任何时间。另请注意,最新版本的Notepad++已安装了FTP插件。如果您运行的是旧版本的Notepad++,那么您需要通过插件管理器单独安装插件。您只需要启动插件,通过单击插件NppFTP 显示 NppFTP 窗口来完成。
在 Notepad++ 上配置FTP连接
启动NppFTP窗口后,您需要做的就是配置FTP连接,这是通过单击设置选项卡下的常规(General)设置(Settings)选项来完成的。
下一步是添加新的配置文件。单击(Click)窗口左下方的“添加新”按钮,然后输入您想要的配置文件的名称。 输入(Enter)所有FTP或Web 服务器(Web Server)详细信息,包括:
FTP的端口始终设置为 21 - 并选择连接类型为“FTP”。
完成输入后,只需建立连接即可开始访问FTP 服务器。(FTP Server)这(Which)是通过点击FTP Window上的连接按钮来完成的。
您可以使用它执行许多选项,例如:
- Notepad++上编辑文件。
- 上传一个新文件。
- 删除一个文件。
- 创建一个新目录。
- 删除目录。
我没有 FTP 或 Web 服务器
如果您没有Web服务器,则不必担心。他们是许多提供免费FTP帐户以及良好存储容量的提供商。我推荐Zymic.com,它很容易订阅和上手。在那里登录(Log),一旦您在那里创建帐户,您就会获得从FTP客户端访问它所需的所有凭据——即Hostname、Username和Password。
让这个应用程序NppFTP令人印象深刻的是它也有一个便携版本。您可以随身携带NotePad++并从任何地方开始访问您的服务器。它也被证明对开发人员非常有效,因为它具有许多编程语言的语法高亮功能。
Create an FTP account and start accessing it using Notepad++!
How to access FTP Server using Notepad++
Earlier we posted a complete screenshоt tutorial on installing FileZilla client and server and synchronizing files between multiple clients. In this post, I am going to show you how to synchronize or access files on your FTP Server directly from Notepad++, a free Notepad alternative.
How to access FTP Server using Notepad++
Notepad++ is fairly a small application and occupies 5 MB on your drive. You needed to have a client application to transfer files to FTP or Web Servers. After you connect your server with the client application like FileZilla, a free FTP application, the file is then edited back using a notepad or an IDE.
Notepad++ combines the features of different applications using its NppFTP plug-in. This enables you to access all the files and folders on your Web server. Moreover you can create new directories as well.
Let’s check out how this FTP plugin works on Notepad++
Notepad++ FTP connection setup
First of all you need to download the latest version of Notepad++; it hardly takes any time to install. Also note that the latest version of Notepad++ has FTP plugins installed with it. If you are running an older version of Notepad++ then you need to install the plugins separately through plugin manager. You just need to launch the plugin, which is done by clicking plugins NppFTP show NppFTP Window.
Configuring FTP connection on Notepad++
After launching the NppFTP windows, all you need to do is to configure the FTP connection, which is done by clicking the General setting option under the Settings tab.
The next step is to add new profile. Click the button ‘add new’ on the bottom left of the window and enter the name of the profile you would like to have. Enter all the FTP or Web Server details, which include:
- Hostname
- Username
- Password
- Port
The port for FTP is always set as 21 – and choose the connection type as ‘FTP’.
Once you are done with the entries, start accessing your FTP Server just by establishing connectivity. Which is done by hitting the connect button on the FTP Window.
There are a bunch of option you can do using this, such as:
- Edit the file on Notepad++ directly.
- Upload a new file.
- Delete a file.
- Create a new directory.
- Delete a directory.
I don’t have an FTP or Web Server
If you don’t have a Web server, you need not worry. They are many providers that give you free FTP accounts along with a good storage capacity. I recommend Zymic.com which is very easy to subscribe to and get started. Log in there and as soon as you make an account there, you get all the credentials needed to access it from an FTP client – that is Hostname, Username, and Password.
What makes this application NppFTP impressive is that it has a portable version as well. You can carry NotePad++ anywhere and start accessing your Server from anywhere. It also proves quite effective for developers as it has the feature of syntax highlighting for many programming languages.
Create an FTP account and start accessing it using Notepad++!