silverstripe / silverstripe-assets

Silverstripe Assets component
BSD 3-Clause "New" or "Revised" License
9 stars 65 forks source link

Consider utilising the Upload class for file uploads that don't involve the database #576

Open sabina-talipova opened 8 months ago

sabina-talipova commented 8 months ago

Description

The Upload class had a @todo Allow for non-database uploads note. It might be worth investigating its applicability for non-database uploads.

This could be useful to allow uploading files which are directly pushed on to some third party service, or which are manipulated and then fed directly back to the frontend, etc.

See: https://github.com/silverstripe/silverstripe-assets/blob/27000f18654ce66e6e92e40bb220121b8d750855/src/Upload.php#L30