pwnlabs / ftp-client
A simple wrapper client lbrary to connect to FTP Servers, and do simple operations.
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/pwnlabs/ftp-client
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2026-01-13 00:29:25 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);