Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field with data-type file need to use file-storage #15

Open
neverabe opened this issue Mar 6, 2018 · 0 comments
Open

Field with data-type file need to use file-storage #15

neverabe opened this issue Mar 6, 2018 · 0 comments

Comments

@neverabe
Copy link
Member

neverabe commented Mar 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants