knp_gaufrette:
    adapters:
        foo_local:
            local:
                directory:  "%kernel.project_dir%"
                create:     true
        foo_ftp:
            ftp:
                host: example.com
                username: user
                password: pass
                directory: /example/ftp
                create: true
                mode: FTP_BINARY

    filesystems:
        foo:
            adapter:        foo_local
            alias:          foo_filesystem
        ftp:
            adapter:        foo_ftp
            alias:          ftp_filesystem
