pwnlabs / ftp-client
A simple wrapper client lbrary to connect to FTP Servers, and do simple operations.
v1.1
2020-02-02 19:34 UTC
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2025-06-16 22:01:54 UTC
README
A simple wrapper client lbrary to connect to FTP Servers, and do simple operations.
Example usage
$ftpClient = new \PwnLabs\FtpClient\FtpClient(
$host,
$username,
$password
);
$ftpClient->login();
$ftpClient->setPassiveMode(true);
$ftpClient->changeDirectory('SOME_OTHER_DIRECTORY');
$listedFilenames = $ftpClient->listFilesInDirectory();
var_dump($listedFilenames);