定制 vegas-cmf/filesystem 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vegas-cmf/filesystem

最新稳定版本:v1.0.3

Composer 安装命令:

composer require vegas-cmf/filesystem

包简介

Vegas CMF Filesystem Manager

README 文档

README

Build Status Coverage Status Latest Stable Version Total Downloads

Tests

Ftp server

Test suite for FTP adapter uses a local FTP server. In the example we show how to setup local ftp server based on vsftpd service, which you can easily install in your system. In the following steps we show how to install it in the Ubuntu system.

sudo apt-get install vsftpd
sudo vim /etc/vsftpd.conf

Find and setup the following lines:

anonymous_enable=YES
write_enable=YES
local_enable=YES
ftpd_banner=Welcome to Vegas Ftp Test Server

Restart FTP server

sudo service vsftpd restart

Now we should create an example user

sudo groupadd ftp-users
sudo mkdir /home/ftp-user
sudo chmod 775 /home/ftp-user
sudo chown ftp-user:ftp-users /home/ftp-user
sudo useradd -g ftp-users -d /home/ftp-user ftp-user
sudo passwd ftp-user
#(enter the password: test1234)
touch /home/ftp-user/hello.txt
echo "Hello Vegas" > /home/ftp-user/hello.txt

When everything is done, try to login to your local server using ftp-user account.

ftp localhost

Now you can run tests:

./vendor/bin/phpunit

统计信息

  • 总下载量: 403
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 7
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固