mardi 4 septembre 2018

Laravel - Driver [] is Not Supported

I haven't found an example like mine, the others appear to be missing what I already have but anyways, I'm trying to upload to an external FTP site, to which I have the following in my filesystem.php file:

    's3' => [
        'driver' => 's3',
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION'),
        'bucket' => env('AWS_BUCKET'),
    ],

     'fourkites-ftp' => [
        'driver' => 'ftp',
        'host' => 'ftp.site.com',
        'username' => 'my-username',
        'password' => 'my-password',

    ],

And I'm trying to send the file along with the following in one of my controllers:

  Storage::disk('fourkites-ftp')->put('new/afnloads.csv', $temp);

And as I'm trying testing it, it gives me this error:

(1/1) InvalidArgumentException 
Driver [] is not supported.
in FilesystemManager.php line 126

Are there any suggestions? Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire