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

Can I change directory where will be stored uploaded files? #24

Open
varahi opened this issue Aug 8, 2017 · 2 comments
Open

Can I change directory where will be stored uploaded files? #24

varahi opened this issue Aug 8, 2017 · 2 comments

Comments

@varahi
Copy link

varahi commented Aug 8, 2017

Hi,
Thanks for the perfect solution for front-end uploads. Can I change directory where will be stored uploaded files? Now by default they stored in fileadmin root.

@varahi varahi changed the title Error "Something went wrong during the upload?" On 0.9.6 version. Can I change directory where will be stored uploaded files? Aug 9, 2017
@PatrickNd
Copy link

Hey,
yes you can. In your Backend add a new File Storage with all the configurations you need and hover over the icon in the list view to check the ID from it. Then replace the ID in the getStorageObject function. Now it will store the files in the new location.

@Kephson
Copy link
Contributor

Kephson commented Aug 12, 2019

In my frontend upload example extension you can define the storage in the plugin in the backend: https://github.com/Kephson/fe_upload_example
So it is possible to define a special storage for each plugin.
The example is still in progress but with full functions.

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

No branches or pull requests

3 participants