PHP code example of lenochware / ftpdeploy
1. Go to this page and download the library: Download lenochware/ftpdeploy library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lenochware / ftpdeploy example snippets
return [
'local' => '/local/path/to/files',
'remote' => 'ftp://user:[email protected]/path/to/files',
'password' => 'your-login',
'charset' => 'source-code-charset' /*optional*/
'exclude' => [
'~/.git',
'~/temp',
'*.bak',
],
];