5

When browsing the assets, there is a "Temporary Uploads" folder. What is it for? Can I disable/hide it?

enter image description here

5

Each user account gets their own "temporary uploads" folder that by default will be a subfolder under storage/runtime/assets/tempuploads.

There are several places there this is used in Craft... one example is if an Asset field has its "Upload Location" set to something dynamic based on the value of another field. When saving a new element, Craft won't know the value of that upload location until after the element is actually saved, so it keeps the uploaded file for the Asset field in the "temporary uploads" folder, then moves it out of there after the element has been successfully saved.

Can I disable/hide it?

You can't disable it natively, but you'd probably be able to use some CSS to hide it if you really wanted: https://github.com/doublesecretagency/craft-cpcss

  • When a file is uploaded to the "temporary uploads" folder, is it immediately saved as an Asset? Or does it not get formally saved as an Asset until the file is moved to a permanent location? – Lindsey D May 5 at 0:20
1

Under the asset settings, if you change "Where do you want to store temporary asset uploads?"

enter image description here

The Temporary Uploads folders will no longer appear.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.