Vaughn Iverson

Results 412 comments of Vaughn Iverson

To clarify: not safe for concurrent writes/reads to any given file. FileCollection does implement locking on top of MongoDB to make such operations safe, although more recently MongoDB has actually...

Sure, if all you want is file-level dedup, that could work (probably a bit more than a "few liner" though). You'd need to implement reference counting and ensure that the...

You should check out my gridFS locking package (and the sister gridFS streaming package). Lots of good info there, and file-collection is built on top of it. https://github.com/vsivsi/gridfs-locks

Hi, thanks for your question. I think that your solution is reasonable (the custom handler.) I would be hesitant to include the link in the default response to the POST...

Having just read through that thread, it seems that Meteor is pretty far away from actually deprecating allow/deny. With that said, file-collection contains its own allow/deny validation logic, and doesn't...

Hi, I'm not a Cordova developer myself, so I can only help in a general sense. Keep in mind that CORS is a mechanism for working around *client side* security...

You can do this by defining a custom handler for GET requests on some route. https://github.com/vsivsi/meteor-file-collection#configuring-http-methods You could just reuse the default code, and then add whatever removal logic you...

Hi, you should certainly do file size checking in the client code, and refrain from inserting the zero-length file if the proposed upload is too large. The server-side check exists...

Hi everyone, I don't personally use autoform, so I can't really contribute directly to this, but if anyone needs help understanding any aspect of file-collection to make the integration work...

I don't use much in the way of forms. I do mostly scientific visualization work, etc.