Remote Bundle - C&M

Remote Bundle is designed to facilitate files transfer from remote server.

Made with 💙 by C&M

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:

<?php

return [
    ...
    ClickAndMortar\RemoteBundle\ClickAndMortarRemoteBundle::class => ['all' => true],
    ...
];

Usage

Download

To download files from a remote server, you can use bundle command:

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:

php bin/console candm:remote:put -t <type> -w <password> -d <server> <user> <localFilePath> <distantFilePath>