Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2021-08-24 (11 days ago)  | | Not yet rated by the users | | Total: 72 This week: 72 | | All time: 9,827 This week: 1 |
|
Description | | Author |
This class can send and receive files from a FTP server.
It can connect to a given FTP server and login on behalf of a given user to perform several types of operations with files and directories. Currently it can:
- Change to a given server directory
- Create a directory
- List the files in the directory
- Send a file
- Retrieve a file | |
 |
|
Innovation award
 Nominee: 6x |
|
Details
php-fto-client
Simple FTP Client wrapper
Install
composer require baba/php-ftp-client
Example
use BABA\FTP\FtpClient;
$client = new FtpClient($hostname, $username, $password, $rootFolder);
$client->login();
$files = $client->listFiles('/');
foreach ($files as $file) {
$client->downloadFile($file, './file.txt');
}
$client->disconnect();
License
GPL-2.0-only
Authors
Juraj Puchký - BABA Tumise s.r.o. <info@baba.bj>
https://www.seoihned.cz - SEO optilamizace
https://www.baba.bj - Tvorba webových stránek
https://www.webtrace.cz - Tvorba portál? a ecommerce b2b/b2c (eshop?) na zakázku
Log
1.0.0 - first release
Copyright
© 2021 BABA Tumise s.r.o.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.