Meteor File Uploads

前端 未结 5 1779
[愿得一人]
[愿得一人] 2021-02-07 15:14

I see that this has been asked here before, but nothing since Meteor.http has been available. I\'m still grasping the concepts of Meteor and file uploads are totall

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 15:47

    well been playing a bit with meteor. Made a collectionFS a mix of meteor and gridFS (could be compatible). Test it here: http://collectionfs.meteor.com/ It support quit large files, multiple files, users etc. I've tested a 50Mb seems ok, if connection is lost or browser dies the user can resume upload. It should even be possible to have multiple users upload to exact same file - haven't quit found a usecase for it, but it's possible. Accounts, publishing etc. is as with collections - the test is in autopublish mode, though only meta data is avaliable - chunks of data is served in background via blobs.

    I'll try getting it on github,

提交回复
热议问题