php-ftp-client – гибкий FTP и SSL-FTP клиент на php
$ftp = new \\FtpClient\\FtpClient();
$ftp->connect($host);
$ftp->login($login, $password);
// upload with the BINARY mode
$ftp->putAll($source_directory, $target_directory);
$ftp = new \\FtpClient\\FtpClient();
$ftp->connect($host);
$ftp->login($login, $password);
// upload with the BINARY mode
$ftp->putAll($source_directory, $target_directory);