我想将我的文件从本地移动到我的ftp服务器,这是我的文件系统配置:

'disks' => [

    'local' => [
        'driver' => 'local',
         'root' => storage_path('app/public/uploads/file/'),
         'visibility' => 'public',
    ],



    'ftp' => [
       'driver'   => 'ftp',
        'host'     => 'ftp.xxx.my',
        'username' => 'xxx',
        'password' => 'xxx',
        'root' => '/test/'
    ],

],

这是我的控制者

public function move(Request $request) 
{
  $doc = 'file.pdf'
  $file_local = Storage::disk('local')->get($doc);
  $file_ftp = Storage::disk('ftp')->put($doc, $file_local);
  $move = Storage::move($file_local, $file_ftp);
 }

my file actually moving to ftp folder, but i get this error

file_exists() expects parameter 1 to be a valid path, string given

我已经试过了

php artisan cache:clear
php artisan config:clear
php artisan config:cache

但没有工作,请帮助我