speedy/ftp-client
Composer 安装命令:
composer require speedy/ftp-client
包简介
A simple PHP FTP client
README 文档
README
Speedy FTP client is a package component for simple communication with the ftp server written in php.
Requirements
- >= php 7.1
Installation
$ composer require speedy/ftp-client
Usage
Basic initialization and class usage for the most used ftp server operations
require_once __DIR__ . '/vendor/autoload.php'; use Speedy\FTP\Connection\Connection; use Speedy\FTP\SimpleFTPClient; $connection = new Connection('host', 'login', 'password'); $client = new SimpleFTPClient($connection); // shows the list of folders and files in the root server var_dump($client->nlist('/'));
Tests
This package contains the basic tests that provide a good basis for further development
统计信息
- 总下载量: 8.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-23