How To communicate with an FTP Server from Symfony2

Jun 3, 2015


Add The following two dependencies to you composer.json:

Enable the Bundle

Register your Services


You can use all ftp_* Methods from PHP like this:

Add Custom Methods

Change the config:

Extend the Class like this, add whatever you want.