Closed emilv closed 8 years ago
I don't think you can connect to ftp in laravel 5 just with its file system feature.
If you meant by using this package: https://github.com/GrahamCampbell/Laravel-Flysystem , then I guess it's not built in.
You're wrong. Laravel ships with a dependency on Flysystem and the core league/flysystem package includes the FTP adapter. The Illuminate FilesystemManager handles it out of the box on a bare Laravel install since March 2015.
Yeah, your are right, but methods supported by flysystem adapter may vary from this library. Anyway need to add this to README.
Thanks
Is there a reason to use this library instead of the built-in Flysystem in Laravel 5? I just added this to my
disks
in filesystems.php:And now I can open, read and write files to my heart's content with
Storage::disk('ftp')->...
in the same way as any other filesystem!Maybe this library is only needed for legacy reasons? Should that be added to the README?