flysystem is a PHP library that provides an abstraction layer for filesystems. It provides a common API for handling standard tasks across multiple file storage engines, and enables easily swapping local and remote filesystems and emulating directories in systems that don't support them.
Questions tagged [flysystem]
134 questions
0
votes
1 answer
Flysystem S3 remote file download always corrupted
I recently started using Flysystem in an existing application with the intention of abstracting the local and remote (specifically, S3) filesystems. Everything was working ok on my development environment, on which I successfully configured the…

delolmo
- 96
- 8
0
votes
1 answer
How do I monitor file system access in Laravel?
I'm trying to find a way to monitor basic information regarding the access of files on my applications filesystem. The files are stored using the public driver, and are available publicly through the appropriate symlink. I want to add a record to a…

Kirkland
- 798
- 1
- 8
- 20
0
votes
1 answer
\SplfileInfo objects with laravel storage disks
Is there a way I could get objects of type splfileinfo with laravel storage disks? I need a common way of sending an instance that wraps a file (stored on local or s3 service) to a AnalyzeImageService.
I thought that an instant of splfileinfo …

user237329
- 809
- 1
- 10
- 27
0
votes
1 answer
How do I force download of a file through Flysystem?
I may be missing something exceptionally obvious here, but I'm using yii2-flysystem along with Dropbox to read and write files.
I can upload and write them to Dropbox with no problem but then, when reading like this:
$file =…

Gary Fox
- 31
- 2
0
votes
1 answer
Yii2 Azure Flysystem cannot save error
When I am uploading a file to the Azure FILE Storage I am getting the following error:
in
E:\WAMP\www\myweb\_protected\vendor\microsoft\windowsazure\WindowsAzure\Common\Internal\Http\Url.php at line 74 –…

sabkaraja
- 342
- 4
- 15
0
votes
0 answers
Yii2 Flysystem - Azure File System Error
I am using https://github.com/creocoder/yii2-flysystem in a Yii2 application. I have set the following in the config
'azureFs' => [
'class' => 'creocoder\flysystem\AzureFilesystem',
'accountName' => 'mystorageacctname',
…

sabkaraja
- 342
- 4
- 15
0
votes
1 answer
Flysystem/CSV filter a subset of columns
Is it possible to filter a subset of columns of a CSV with Flysystem CSV?
I know that you can use AbstractCsv::addFilter(callable $callback) to add arbitrary filters, but I don't think you would use this to drop a column.

Jonathan
- 10,936
- 8
- 64
- 79
0
votes
1 answer
Flysystem/CSV throwing exception when trying to create a new CSV
I am using Flysystem\CSV to create a CSV and I'm running into the following problem with my code:
namespace App;
use League\Csv\Writer;
class Example
{
public function writeToCsv()
{
$csv = Writer::createFromFileObject(new…

Jonathan
- 10,936
- 8
- 64
- 79
0
votes
0 answers
PHP League\Flysystem delete fails when using readStream and writeStream
I'm using League\Flysystem to upload files on Amazon S3. After I upload the file, I want to delete the file from my server. At first I was using the read and write methods and after that the delete method and it worked fine. Since I have large…

Andrej
- 415
- 1
- 7
- 25
0
votes
1 answer
Laravel: Uploading multiple files on s3 through flysystem
I have a system where users can upload zipped files, this zip file is then uploaded to the local drive and extracted. I am aware that uploading a single file is pretty simple.
$s3 = Storage::disk('s3');
$s3->put('myfile.txt', 'This is some dummy…

Omer Farooq
- 3,754
- 6
- 31
- 60
0
votes
1 answer
Direct file upload from node add form is not working for flysytem_dropbox and flysystem_s3 module for drupal 8
I am using Flysystem module with flysystem_dropbox and flysystem_s3 for storage. I have configured the schemes in settings.php as described in readme.txt files of the modules.
Now when I am syncing the files from local to dropbox or local to s3 the…

Arit Kumar Nath
- 51
- 1
- 4
-1
votes
1 answer
AwsS3Adapter exception appearing locally but not in dev server
I'm working locally on a Laravel project, and suddenly started getting the following exception:
ErrorException in FilesystemManager.php line 193:
Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found (View:…

Sandy
- 2,572
- 7
- 40
- 61
-2
votes
1 answer
How can i get the storage class of a object in Amazon S3 in Laravel
I need to get the storage class of a object in a s3 bucket using the Laravel flysystem, but the class has no method, how can this be done.

David Clews
- 795
- 6
- 14
-2
votes
1 answer
Laravel 5 filesystem: add FTP
Its very simple:
How i can use FTP driver with Laravel 5 filesystem?
Only available s3, rackspace and local. Im trying to use manual from official docs but its not work!
Please, if you know how to use FTP driver for create new Filesystem disk -…

errogaht
- 303
- 1
- 4
- 12