本文档介绍了使用 FTP 或 SFTP 客户端(如 FileZilla)更新和管理 WordPress 文件的方法,对比了控制面板文件管理器与 FTP/SFTP 客户端的适用场景和优缺点,强调了 SFTP 的安全性优势。
There are two common ways to upload and manage files on your site:
Neither option is automatically “better” — they’re different interfaces for working with the same kinds of files on your server.
Not in general. cPanel’s file manager is convenient because it runs in your browser, but it can be slower and more tedious for bulk uploads. An FTP/SFTP client is often more efficient for moving lots of files and folders.
Yes, they often do. Clients typically offer features like transfer queues, recursive folder uploads, overwrite prompts, resumable transfers, and easier bulk operations. The underlying job is the same (copy files to/from the server), but the tooling can be smoother.
Usually both can upload/download the same website files. Differences are typically limits and features, not capability:
FTP or “File Transfer Protocol” has been the most widely used transfer protocol for over thirty years, but it sends your information in the clear, which is a security risk. Use SFTP (Secure File Transfer Protocol) if your host supports it. This transfers your files and your password over a secured connection, and should therefore be used instead of FTP whenever possible. Sometimes you have to contact your host to have SFTP enabled on your account.
Why use FileZilla? Because, like WordPress, it is released under the GPL. So, it is not just free, it is staying that way, too. The following pages will show you how to setup and use Filezilla:
Want to try a different FTP or SFTP client? Find more on Wikipedia.