If you want to use a community package, please check this lc3t35:orion-filesystem-local. All issues please open in the above repo, we'll discuss there, thanks!
This repo is for customization and experiment needs. Not guarantee long-time support.
This is not an official package or a general solution. Because the need for file uploads vary so much, the package only shows the basics to upload/delete files for orionjs based on CollectionFS.
Create your own package based on this one!
meteor create --package YourProj:orion-lfs
or use git submodule and modify this one.
meteor add loongmxbt:orion-lfs
If using different FS.Collection, we need to write different remove functions in orion.filesystem.providerRemove
.
For example:
Files.remove(cfs_id)
Images.remove(cfs_id)
So the easiest way is to make only one FS.Collection Files
.