loopback icon indicating copy to clipboard operation
loopback copied to clipboard

Storage with custom file names

Open rnybergh opened this issue 11 years ago • 1 comments

We are implementing a solution where the user can upload files that are related to a certain group. Using the storage-connector and Container, there does not seem to be any way of changing the incoming filename. Thus there seems to be no other way of naturally grouping the files together than creating a container for each group. This would work nicely on the local filesystem, since the container is a folder/directory. But we plan to migrate the system to Amazon S3, where container=bucket and there can only be a limited amount of buckets. Is there some way to rename the file with Container.upload that we have missed? If not, is creating something like that on the roadmap for the near future? I saw somewhere a mention of doing metadata for files uploaded, perhaps that is related/will solve the issue?

rnybergh avatar Jan 13 '15 18:01 rnybergh

Please post questions at https://groups.google.com/forum/#!forum/loopbackjs. Closing.

superkhau avatar Feb 02 '15 19:02 superkhau