PHPackages                             skonsoft/lftp-deployement-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. skonsoft/lftp-deployement-bundle

ActiveSymfony-bundle[DevOps &amp; Deployment](/categories/devops)

skonsoft/lftp-deployement-bundle
================================

Deploying using LFTP if rsync or git are not available

221[1 issues](https://github.com/skonsoft/SkonsoftLftpDeployementBundle/issues)PHP

Since Nov 26Pushed 13y ago2 watchersCompare

[ Source](https://github.com/skonsoft/SkonsoftLftpDeployementBundle)[ Packagist](https://packagist.org/packages/skonsoft/lftp-deployement-bundle)[ RSS](/packages/skonsoft-lftp-deployement-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SkonsoftLftpDeployementBundle
=============================

[](#skonsoftlftpdeployementbundle)

The skonsoft:deploy command helps you to deploy your sources in your web server using LFTP. By default, this command executes LFTP with your config information set under app/config/config.yml

\#problem:

I had a subscription to a web host that does not allow SSH access or access git. Only FTP is allowed. The work was hard to update the site with my modifications lovales. That's why I tried something similar to rsync, but that is based on FTP. The solution was LFTP.

\#LFTP:

\[Lftp\] () is a FTP client to easily command line to transfer files (eg to update your website or locally modified to make a backup on your computer).

\[Ubuntu Documentation\] ()

\#Prerequisites:

Install LFTP:

```
#(Ubuntu Users)
sudo apt-get install lftp

```

Modify LFTP Conf file:

sudo gedit /etc/lftp.conf

Update these lines:

```
set ftp:anon-pass "mozilla@"
set ftp:client ""
set http:user-agent "Mozilla/4.7 [en] (WinNT; I)"

set dns:order "inet6 inet"

set ssl:verify-certificate no

```

\#Install Bundle:

Installation is a quick 3 steps process:

1. Download SkonsoftLftpDeployementBundle
2. Enable the Bundle
3. Configure your application's config.yml
4. Enjoy !

### Step 1: Install SkonsoftLftpDeployementBundle

[](#step-1-install-skonsoftlftpdeployementbundle)

The preferred way to install this bundle is to rely on [Composer](http://getcomposer.org). Just check on [Packagist](http://packagist.org/packages/friendsofsymfony/oauth-server-bundle) the version you want to install (in the following example, we used "dev-master") and add it to your `composer.json`:

```
{
    "require": {
        // ...
        "skonsoft/lftp-deployement-bundle": "dev-master"
    }
}
```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
