Field with data-type file need to use file-storage
Opened this issue · 0 comments
neverabe commented
What steps will reproduce the problem?
Save a value with data-type file
What is the expected result?
The file need to be storage safely
What do you get instead?
The name of the file in the respectively value was saved correctly but the file was not saved
Additional info
Description
I think the best solution is to use this extension https://github.com/yii2tech/file-storage, because has a lot of support
[[\yii2tech\filestorage\local\Storage]] - stores files on the OS local file system.
[[\yii2tech\filestorage\sftp\Storage]] - stores files using SSH2 SFTP.
[[\yii2tech\filestorage\amazon\Storage]] - stores files using Amazon simple storage service (S3).
[[\yii2tech\filestorage\mongodb\Storage]] - stores files using MongoDB GridFS.
[[\yii2tech\filestorage\hub\Storage]] - allows combination of different file storages.