From ad0f69cb3be668d1bc0507df3169292196a55c3a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 11 Feb 2016 10:18:25 -0600 Subject: [PATCH] update filesystem docs --- filesystem.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/filesystem.md b/filesystem.md index 3b543f4b948..9be83e1bf74 100644 --- a/filesystem.md +++ b/filesystem.md @@ -35,6 +35,38 @@ Before using the S3 or Rackspace drivers, you will need to install the appropria - Amazon S3: `league/flysystem-aws-s3-v3 ~1.0` - Rackspace: `league/flysystem-rackspace ~1.0` +#### FTP Driver Configuration + +Laravel's Flysystem integrations works great with FTP; however, a sample configuration is not included with the framework's default `filesystems.php` configuration file. If you need to configure a FTP filesystem, you may use the example configuration below: + + 'ftp' => [ + 'driver' => 'ftp', + 'host' => 'ftp.example.com', + 'username' => 'your-username', + 'password' => 'your-password', + + // Optional FTP Settings... + // 'port' => 21, + // 'root' => '', + // 'passive' => true, + // 'ssl' => true, + // 'timeout' => 30, + ], + +#### Rackspace Driver Configuration + +Laravel's Flysystem integrations works great with Rackspace; however, a sample configuration is not included with the framework's default `filesystems.php` configuration file. If you need to configure a Rackspace filesystem, you may use the example configuration below: + + 'rackspace' => [ + 'driver' => 'rackspace', + 'username' => 'your-username', + 'key' => 'your-key', + 'container' => 'your-container', + 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/', + 'region' => 'IAD', + 'url_type' => 'publicURL', + ], + ## Basic Usage