Using Laravel Storage Facade to access files on another PC

568 Views Asked by At

So , there's a machine where i have some files, and i would like to access those files from my Laravel project that is running locally.

This machine is on an example host like 10.0.101.11 , how can i access this with my laravel project?

My filesystem.php disks

'disks' => [

        'ftp' => [
            'driver'   => 'ftp',
            'host'     => '10.0.101.11',
            'username' => 'user',
            'password' => 'passwd',
            'root'     => 'C:/',
            'port'     => 11,
        ],
        'root' => [
            'driver' => 'local',
            'root' => 'D:/'
        ],
        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
        ],
]

My local machine and the host are in the same network, is there anyway i can access it's directories without using ftp?

0

There are 0 best solutions below