Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 776 Bytes

adapter_ftp.md

File metadata and controls

22 lines (18 loc) · 776 Bytes

Use the FTP adapter

This adapter works with the standard PHP FTP implementation which is documented in the manual. You have to provide at least a value for the host key.

# app/config/config.yml
oneup_flysystem:
    adapters:
        my_adapter:
            ftp:
                options:
                    host: 'ftp.hostname.com' # required
                    root: '/upload' # required
                    username: 'username' # required
                    password: 'password' # required

For more details on the other parameters, take a look at the Flysystem documentation.

More to know