Skip to content

pwn-labs/ftp-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

PwnLabs/FtpClient

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); 

About

A PHP class with methods to interact with a remote FTP server

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages