Skip to content

lablnet/PHP-FTP-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-FTP-Class

PHP FTP is a simple and convenient FTP adapter for processing FTP requests via PHP.

BASIC USAGE

Create a new directory, change into it and upload a file

$ftp = new FTP('ftp.myserver.com', 'username', 'password',false);

$ftp->mkdir('somedir');
$ftp->chdir('somedir');

$ftp->put(['my_local_file.html','my_local_file2.html']);

Download file from a directory

$ftp = new FTP('ftp.myserver.com', 'username', 'password',false);

$ftp->chdir('somedir');

$ftp->get('my_local_file.html', 'file_on_server.html');

About

PHP FTP is a simple and convenient FTP adapter for processing FTP requests via PHP.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages