新宁思 / craft-ftp
Craft CMS 的 FTP 集成
v2.0.0
2024-06-02 00:48 UTC
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- craftcms/flysystem: ^2.0.0
- league/flysystem-ftp: ^3.0.0
This package is auto-updated.
Last update: 2024-09-02 01:18:59 UTC
README
Craft CMS 的 FTP 集成
此插件为 Craft CMS 提供FTP集成,使用此插件,我们可以为Craft CMS创建FTP卷类型。
需求
- PHP 8.0.2 或更高版本
- Craft CMS 4.0 或更高版本
安装
我们可以使用Composer安装此插件。打开您的终端并运行以下命令
# go to the project directory cd /path/to/my-project # tell Composer to load the plugin composer require xinningsu/craft-ftp # tell Craft to install the plugin ./craft plugin/install craft-ftp
设置
要创建一个用于与您的卷一起使用的新FTP文件系统,
- 登录管理员,访问 设置 → 文件系统,
- 点击 新建文件系统。
- 选择 文件系统类型 为“FTP”
- 根据需要设置和配置。