FileZilla Server 安装与使用(Windows VDS)
在 Windows Server VDS 上用 FileZilla Server 配置 FTP/FTPS。用户管理、共享文件夹、SSL 与防火墙。
需要在 Windows VDS 上有 FTP 服务器做文件共享?FileZilla Server 开源、免费、是最简单的方案之一。本文涵盖下载、用户创建、SSL/TLS 与防火墙。
FileZilla Server 与 Client
- FileZilla Server:装在服务器上——别人连到你
- FileZilla Client:装在你的 PC 上——连接到其他 FTP 服务器
本文是服务端。
安装
- https://filezilla-project.org/download.php?type=server → 下载 FileZilla Server for Windows
- 运行 setup → Standard install
- Service mode → “Install as service, started with Windows” ✓
- Admin port:14148(default),localhost only ✓
- 设置 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 → Users → Add:
- Username:
kehu - 密码:强
- Mount points(共享文件夹):
- Virtual path:
/ - Native path:
D:\FTP\kehu(先创建文件夹) - Permissions:Read, Write, Append, Delete(按需)
- Virtual path:
多用户用 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-ip或ftp.你的-站点.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 → Performance→ Number 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 上用 vsftpd 或 ProFTPD 替代 Windows FTP——CLI 但更轻。SFTP 已经内置在 SSH;无需额外安装。见 SSH 文章。
相关:VDS 间文件迁移 · Windows 磁盘扩容
相关 文章
您可能也喜欢这些。
什么是 NVMe SSD?它对服务器性能的影响(对比 SATA SSD)
什么是 NVMe?它与 SATA SSD 有何区别?用 IOPS、延迟与真实数据说明 NVMe 为何已成为服务器标准。
阅读更多
什么是独立服务器(Dedicated Server)?谁真正需要它?
什么是独立服务器?它与 VDS 有何区别、何时必须使用?优势、成本与服务器托管(co-location)替代方案,尽在本指南。
阅读更多
VDS 租用指南:下单前必查的 10 项标准
从 CPU 型号到磁盘类型,从 DDoS 防护到备份——租用 VDS 前必须核实的 10 项标准,逐条讲解。别选错套餐。
阅读更多