Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Nick Germaine
@nickgermaine
The github page says build failing, and when I tried to use cfs a week ago, it complained that http methods weren't enabled on client side, and my app wouldn't start. Any way around this? I need to be able to upload files to paths, and then reference the filepaths in mongo
Nick Germaine
@nickgermaine
maybe it works on windows. I tried on linux last week, trying on windows now and it looks like it might work
Nick Germaine
@nickgermaine
Yeah, so this all works on Windows, but I need it to work on Linux.
Raylen Margono
@margono13901
Hey guys i keep getting the following errror : Expecting a function in instanceof check
janibyekm
@janibekm
hi guys! How to use collectionFS to angular2 any idea ?
is it possible now?
Max Svidlo
@svidlak
hey guys, it seems that I cannot get CollectionFS to work with Meteor (using the snippets from GitHub Docs) any idea?
Justin DiPierro
@JDiPierro
@svidlak What type of issues are you running into? It's built for Meteor, so it should work with Meteor :P
Jake Lacey
@jakelacey2012
Hi @svidlak I've had trouble getting CollectionFS working as well, but I've managed to now get it working with local file storage and s3(ish) :) but what issues are you having?
can anybody help me with s3?
Saurabhkalra78
@Saurabhkalra78
random. Feel free to use my website for your collaboration. Www.geekprogrammers.com
Let me know your thoughts guys
Saurabhkalra78
@Saurabhkalra78
The benefit of adding the issues here is that we will have all the history and we can always go back and refer to it. This would be for every bodies benefit.
RamyElkest
@RamyElkest
CollectionFS/Meteor-CollectionFS@b9af68a Deprecated /sob
Razvan Margineanu
@verrochio_twitter
Why is collectionfs deprecated, is it replaced by something else?
Immanuel Valle
@Cyval
anyone has a fork on this one?
markmitton
@markmitton
Was looking for this type of functionality but like Razvan Margineanu I see it's deprecated. Does anyone know why or what to use instead?
Razvan Margineanu
@verrochio_twitter
I ended up using UploadFs
Jalik uploadfs
It works for small files.
RamyElkest
@RamyElkest
Hey guys
anyone deployed cfs:gridfs to digitalocean
uploading files seems painfully slow, not sure if its cfs or DO :S i assume the former :/
6mb takes ~5 mins
Razvan Margineanu
@verrochio_twitter
Use s3 its really cheap and fast
I stoped using collectionfs and used the node aws sdk to upload files to s3. Manually added the file urls to the db.
I got 9MB/sec upload.
RamyElkest
@RamyElkest
ah damn, that's pretty good
yeah i aim to migrate to s3 once i release, but wanted to keep it local during development
hmm, do you have experience of aws sdk vs slingshot?
Razvan Margineanu
@verrochio
not really, i read it up as i need to :)
RamyElkest
@RamyElkest
:+1:
squeal
@squeal
@RamyElkest if you want to get files from the client to s3, use slingshot. It works great and goes from client directly to s3, withoutgoing in and out of your server -> faster AND cheaper.
squeal
@squeal
CollectionFS is deprecated because it is just really really bad: It's way slower and also more complicated than basically anything else, db-storage is usually a lot more expensive than just storage, and it can do so very very little (which leads to my following problem). So basically you get all cons, no pros. No matter with what you compare it.
I need help too: I'm trying to get a file out of gridFS on the server. And no, not with .url() (for reasons). I tried .createReadStream() and .createWriteStream(), both didn't work for me. Stuck on this for 2 days now :-( . Any help very much appreciated.
squeal
@squeal
Finally got it working! Big part of the problem was the fact that code, that surprisingly turned out to be working when part of the project source code, didn't work when trying it in meteor shell (which I used, faster than waiting for meteors autorestart everytime). Didn't know that code behaviour could be so different in the code and in the meteor shell. The other Part of the problem is the "documentation" of CollectionFS/GridFS (really just a 'how to get started' on Cfs, an offensive joke on Gfs).
squeal
@squeal
BTW, the code I used was fs = Meteor.npmRequire 'fs' f = fs.createWriteStream "........../out" s = Files.findOne("xxxxxxxxxxxxxx").createReadStream() s.pipe f
squeal
@squeal
damn that's wrong xD it's the following:
fs = Meteor.npmRequire('fs')
dafile = fs.createWriteStream("...../out")
s = Files.findOne("xxxxxxxxxxxx").createReadStream()
s.pipe(dafile)
demiantriebl
@demiantriebl
any use cfs on modulus.io?
i have a problem whit the forlder upload
demiantriebl
@demiantriebl
anyhome use gridFS?
Immanuel Valle
@Cyval
hi guys
how can I use progress bar with react using this library?
Ba Ba K
@cyclops24
Hi, Why this project DEPRECATED and now what is the alternative? :worried:
Guillaume Darbonne
@guidouil
now with npm integration and fs access it's pretty straight forward to upload and store your data on filesystem
Mike Bobadilla
@mikebobadilla
@guidouil I hadnt even thought of that. I constantly forget about npm