Remote Bundle - C&M
Remote Bundle is designed to facilitate files transfer from remote server., (*1)
Made with :blue_heart: by C&M, (*2)
Versions
Bundle version |
Symfony version |
v5.4.* |
v5.4.* |
v1.1.* |
v4..
|
v1.0.* |
v3..
|
Installation
Download the Bundle
$ composer require clickandmortar/remote-bundle
Enable the Bundle
Enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:, (*3)
<?php
return [
...
ClickAndMortar\RemoteBundle\ClickAndMortarRemoteBundle::class => ['all' => true],
...
];
Usage
Download
To download files from a remote server, you can use bundle command:, (*4)
php bin/console candm:remote:get -t <type> -w <password> -x <newExtension> -d <server> <user> <distantFilePaths> <localDirectory>
Upload
To upload files to a remote server, you can use bundle command:, (*5)
php bin/console candm:remote:put -t <type> -w <password> -d <server> <user> <localFilePath> <distantFilePath>