跳到主要内容
不要错过新客户专属 20% 折扣优惠! 优惠码: KAVESNET20 已复制 |
FileZilla

FileZilla Server 安装与使用(Windows VDS)

在 Windows Server VDS 上用 FileZilla Server 配置 FTP/FTPS。用户管理、共享文件夹、SSL 与防火墙。

KavesNET 团队 2026年3月5日 2 分钟阅读
FileZilla Server 安装图片

需要在 Windows VDS 上有 FTP 服务器做文件共享?FileZilla Server 开源、免费、是最简单的方案之一。本文涵盖下载、用户创建、SSL/TLS 与防火墙。

FileZilla Server 与 Client

  • FileZilla Server:装在服务器上——别人连到你
  • FileZilla Client:装在你的 PC 上——连接到其他 FTP 服务器

本文是服务端。

安装

  1. https://filezilla-project.org/download.php?type=server → 下载 FileZilla Server for Windows
  2. 运行 setup → Standard install
  3. Service mode → “Install as service, started with Windows”
  4. Admin port:14148(default),localhost only ✓
  5. 设置 admin 密码

FileZilla Server admin 自动打开。

初始配置

Server settings

Server → Configure...

  • Listeners:0.0.0.0:21(FTP),0.0.0.0:990(FTPS——稍后)
  • Passive mode ports:50000-51000(防火墙必须开放此范围)
  • Maximum connections per IP:10(DDoS 防护)

创建用户

Server → UsersAdd

  • Username:kehu
  • 密码:强
  • Mount points(共享文件夹):
    • Virtual path:/
    • Native path:D:\FTP\kehu(先创建文件夹)
    • Permissions:Read, Write, Append, Delete(按需)

多用户用 Group 共用设置。

防火墙

Windows 防火墙放行入站:

New-NetFirewallRule -DisplayName "FTP" -Direction Inbound -LocalPort 21 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FTP Passive" -Direction Inbound -LocalPort 50000-51000 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "FTPS" -Direction Inbound -LocalPort 990 -Protocol TCP -Action Allow

KavesNET 网络防火墙也要开。

FTPS(SSL/TLS)——必备

普通 FTP 以明文发送密码。生产环境务必用 FTPS。

Server → Configure → FTP and FTP over TLS

  • Use TLS:enabled
  • Allow plain FTP:disabled
  • Generate self-signed certificate(测试用)或导入 Let’s Encrypt 证书(.pem)

Let’s Encrypt:见我们的文章

连接测试(客户端)

FileZilla Client 或 WinSCP:

  • Host:vds-ipftp.你的-站点.com
  • Username:kehu
  • 密码
  • Port:21(FTP)或 990(FTPS)
  • Encryption:Require explicit FTP over TLS

Connect → 显示用户文件夹 → 上传/下载测试。

改密码 / 删用户

Admin UI → Users → 选择 → Edit / Remove。

日志

Server → Configure → Logging

  • Enable logfile
  • File:C:\FileZillaServer\Logs\fzserver.log
  • Rotate daily

性能小贴士

并发传输多时:

  • Server → Configure → PerformanceNumber of threads:8-16

I/O 可能是瓶颈——NVMe SSD VDS 必备。KavesNET VDS 套餐 全部 NVMe。

常见错误

  • 连不上:防火墙(Windows + KavesNET)——21 和 passive 范围开了吗?
  • “425 Can’t open data connection”:passive mode 没配
  • “Permission denied”:mount point 权限错
  • 上传慢:杀毒软件扫描 FTP——加例外

Linux 替代:vsftpd / ProFTPD

Linux VDS 上用 vsftpdProFTPD 替代 Windows FTP——CLI 但更轻。SFTP 已经内置在 SSH;无需额外安装。见 SSH 文章

相关:VDS 间文件迁移 · Windows 磁盘扩容

标签 FileZilla FTP Windows Server 教程

相关 文章

您可能也喜欢这些。

联系我们