Browse Source

Add FTP adapter to filesystem config

Gary 9 years ago
parent
commit
9534ded883
1 changed files with 15 additions and 1 deletions
  1. 15 1
      config/filesystems.php

+ 15 - 1
config/filesystems.php

@@ -11,7 +11,7 @@ return [
     | by the framework. A "local" driver, as well as a variety of cloud
     | based drivers are available for your choosing. Just store away!
     |
-    | Supported: "local", "s3", "rackspace"
+    | Supported: "local", "ftp", "s3", "rackspace"
     |
     */
 
@@ -48,6 +48,20 @@ return [
             'root'   => storage_path().'/app',
         ],
 
+        'ftp' => [
+            'driver'   => 'ftp',
+            'host'     => 'ftp.example.com',
+            'username' => 'your-username',
+            'password' => 'your-password',
+
+            // Optional config settings
+            // 'port'     => 21,
+            // 'root'     => '',
+            // 'passive'  => true,
+            // 'ssl'      => true,
+            // 'timeout'  => 30,
+        ],
+
         's3' => [
             'driver' => 's3',
             'key'    => 'your-key',