Controlling file uploads is complicated and complex, it depends on what file and number of files you have in
Small number of files
If the number and size of images or files is small, you can try mongoDB GridFS, there are two well-known packages that support GridFS:
- CollectionFS:
meteor add cfs:standard-packages cfs:gridfs CollectionFS ( ) AWS-S3 Dropbox. CFS . , , , ... ( ) - file-collection:
meteor add vsivsi:file-collection CFS, GridFS. CFS, , IMO .
! GridFS , MongoDB , . mongolab compose.io( mongohq). , mongo , , db, ! mongoDB ...
, ?
: S3 ( Google cloud/Azure), . S3 , , (Dropbox - S3).
, ... S3 . slingshot ( -) ( , AWS SDK, > ).
, S3 , , , , / , , S3 - .
FAST
, , , lol.
Filepicker ( filestack), , . , filepicker.io, ( S3, ).
mongoDB, . S3 + cloudfront (CDN ) . , AWS. filepicker, , , .