Questions tagged [flysystem]

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.

134 questions
0
votes
1 answer

Error when combining flysystem and liipImageBundle libraries in symfony6

I use Symfony 6 and ApiPlatform. I want to put out miniature photos. I am using Flysystem and LiipImagineBundle. I did everything as in the Symfony documentation. However, when I want to use the method "filterService-> getUrlOfFilteredImage ()" I…
ciastekkkk
  • 89
  • 7
0
votes
1 answer

How to get Flysystem AWS S3 V3 Adapter to use private for all visibilities

I don't know if this is a bug or if I'm just overlooking something here, but I can't seem to get the S3 adapter to use "private" for anything despite passing that to the visibility parameter. A quick rundown of the code: use…
jrrdnx
  • 1,565
  • 3
  • 15
  • 23
0
votes
2 answers

Laravel Flysystem SFTP: How to check if connection is successful or not

I'm using Flysystem SFTP in Laravel 8. I've multiple accounts for sftp and I'm looping on every one for making adapter and then reading files from server. This all is working through console command and is registered in Schedule. The issue is when…
hydar_akbar
  • 55
  • 1
  • 8
0
votes
1 answer

Vich Uploader integrate with Fly System cannot upload file but saved in database

I tried to create file upload by using vich uploader integrate with fly system in symfony. However I only can save the file name in database but not uploading. Is it something wrong with the flysystem or vich uploader setting? Vich Uploader…
0
votes
2 answers

How to output array with new line separated values using Laravel Storage:put

How to output an each array element in a new line with Laravel Storage:put? I have an array like below that I want to put into a file, array_test.txt, where each element goes on a new line. $arrTest array:2 [ 0 => "Val 1" 1 => "Val 2" ] Using…
wanna_coder101
  • 508
  • 5
  • 19
0
votes
2 answers

How get specific file storage service in flysystem component in symfony

I'm just wondering how to get specified filestorage instance in flysystem bundle. For example if I have such configuration: flysystem: storages: first.storage: adapter: 'local' options: directory:…
Andrii Sukhoi
  • 749
  • 5
  • 14
0
votes
1 answer

Using aws-s3-v3 with laravel and digitalocean spaces results in error 501 not implemented

I am trying to upload some files to a s3 compatible storage from digitalocean (spaces) using Laravel 8 and flysystem-aws-s3-v3. But when I submit those files I'm getting this error: Aws\S3\Exception\S3Exception Error executing "PutObject" on…
Melody
  • 127
  • 10
0
votes
1 answer

Uploading files to S3. Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found

I'm trying to upload files to S3 but I'm getting the error: Class 'League\Flysystem\AwsS3v3\AwsS3Adapter' not found I have run this command: composer require league/flysystem-aws-s3-v3:~1.0 I have ran composer update composer info shows this: My…
kryz
  • 79
  • 11
0
votes
1 answer

How to use FlySystem for storage in a NextCloud app?

I am developing an app for Nextcloud that needs to read and write files. Part of my code is provided by a library that uses FlySystem. In the NextCloud codebase there is a FlySystem…
Potherca
  • 13,207
  • 5
  • 76
  • 94
0
votes
0 answers

How to use S3 with signature V2 In Laravel

I have a project in Laravel 7 and I want to use a compatible storage S3 who accept only version 2 of signature. I tried to install flysystem/flysystem-aws-s3-v2 but there are more conflict with Symfony and Guzzle. Is there a method for use…
Vincenzo
  • 11
  • 1
  • 3
0
votes
3 answers

Flysystem: Google Cloud Storage Adapter - cache-control

Is there a way to set the cache-control metadata while putting a file to the Google Cloud Storage using Google Cloud Storage Adapter for Flysystem? I have all my files in the bucket public, but sometimes I need to update some file, and after that I…
alanmcknee
  • 162
  • 2
  • 3
  • 16
0
votes
1 answer

Lumen: Uploading a file / Disk does not have a configured driver

Lumen 6.3.4 / PHP 7.3.9 Trying to upload a file from form data. Getting this error: Disk [qr_uploads] does not have a configured…
pop
  • 3,464
  • 3
  • 26
  • 43
0
votes
0 answers

How to use the SFTP drivers in october CMS

Within octoberCMS there's a plugin called Drivers to install some third party drivers for storage; I want to use the SFTP drivers from FlySystem. I've adjusted the composer file of the driver plugin and added the flysystem; "require": { …
Dreqnoid
  • 31
  • 7
0
votes
1 answer

GuzzleHttp Parallel Progress For Async Client in Azure and Flysystem

I would like to get the actual block progress and not the Progress of all the transfers. Currently i don't know how to detect the blockId of each individual transfer. The information on the progress callback im currently retrieving is…
David Clews
  • 795
  • 6
  • 14
0
votes
1 answer

How to get the list of files in the WEBDAV directory with Flysystem?

I found similar question on stackoverflow but noone answered there. So I'am trying to get the list of files from the WEBDAV cloud storage using laravel-flysystem framework that is based on Flysystem. I did everything according to manual and…
Roman
  • 1
  • 1
  • 3
1 2 3
8 9