Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 04 06:22
    sebastianspiller opened #826
  • Sep 21 20:25
    Luvelnet closed #824
  • Sep 21 20:25
    Luvelnet commented #824
  • Sep 16 02:21
    s7dhansh closed #809
  • Sep 16 02:21
    s7dhansh commented #809
  • Sep 15 15:57
    jankapunkt commented #809
  • Sep 15 15:51
    jankapunkt commented #819
  • Sep 15 15:50
    jankapunkt closed #825
  • Sep 15 15:50
    jankapunkt commented #825
  • Sep 15 14:00
    dr-dimitru commented #825
  • Sep 15 13:59
    dr-dimitru commented #825
  • Sep 15 13:57
    dr-dimitru labeled #825
  • Sep 15 07:21
    jankapunkt opened #825
  • Sep 15 07:15
    jankapunkt commented #812
  • Sep 10 20:26
    dr-dimitru commented #824
  • Sep 10 18:47
    Luvelnet commented #824
  • Sep 10 18:25
    jankapunkt commented #824
  • Sep 10 18:24
    jankapunkt commented #824
  • Sep 10 18:11
    Luvelnet edited #824
  • Sep 10 18:11
    Luvelnet opened #824
gorlitzer
@gorlitzer
What could be the mistake?
dr.dimitru
@dr-dimitru
@gorlitzer better to post such question at GitHub issues, including code samples.
Better to speak code :)
Jack Fox
@TehUnknownz
@dr-dimitru In the example in the wiki for Load is fielId supposed to be FileId
dr.dimitru
@dr-dimitru
@TehUnknownz thank you for pointing us to it. What document we're exactly talking about?
Jack Fox
@TehUnknownz
dr.dimitru
@dr-dimitru
@TehUnknownz fixed, thank you
Jack Fox
@TehUnknownz
ty
gsanz
@gsanz
Hello , one question. I have used the gridfs example for uploading files in a MongoDB DataBase, using grid_fs.writeStream and grid_fs.readStream. How could I know the information of a recent uploaded file in a MongoDB database without executing any extra query. Thanks
dr.dimitru
@dr-dimitru

@gsanz hey, what do you mean by that?:

How could I know the information of a recent uploaded file in a MongoDB database without executing any extra query.

MongoDB is reactively update the records if you're subscribed to it.

Cathal02
@Cathal02
Hi so I have file uploading working and I can retrieve the Images collection, however using React how do I the images in an img tag? Using the path variable doesn't work
Cathal02
@Cathal02
Figured it out, I was using .link() on an object instead of a File Cursor, I think this should probably be made more clear in the documentation because I had to spend a lot of time looking in the API to find out that you had to access the File Cursor and not the object
dr.dimitru
@dr-dimitru
Hello @Cathal02 ,
Have you seen this docs?
And you're always welcome to contribute to our documentation
Oliver Cera
@olivercera
Hi! is there an repo / example using angular +2?
dr.dimitru
@dr-dimitru
Hello @olivercera ,
No, no example repo for Angular.
You may take a look at VeliovGroup/Meteor-Files#260, looks like there is some basic stuff you may need, in all other it's still JS, I think it will be easy to figure out.
Oliver Cera
@olivercera
Hi @dr-dimitru yeah I figured out a while after I asked.. just had issues importing on the right place since I don't know meteor that much.. after that angular side is just regular development.. thanks!
Cathal02
@Cathal02
Hey no I didn't see that, I'm thinking that maybe an example using .find() instead of findOne() should be used because I think that use-case would be used more. I'll be sure to put in a contribution and show you what I'm talking about
rondip-geekyants
@rondip-geekyants
How to prevent files from deleting on Meteor restart
dr.dimitru
@dr-dimitru
@rondip-geekyants it's most common question, take a look at our FAQ
Gigacross
@Gigacross
Hi all, I tried asking in meteor/meteor but got no response... I wonder if anyone can help : https://stackoverflow.com/questions/51596219/unable-to-set-test-browser-driver-env-variable-windows-10-meteor
I basically cannot run my test in windows 10
dr.dimitru
@dr-dimitru
@Gigacross could you also drop a link to Meteor's forum post here?
Gigacross
@Gigacross
@dr-dimitru I didn't post in Meteor Forum, I asked in gitter's meteor/meteor channel
dr.dimitru
@dr-dimitru
@Gigacross ok, checked it too. I see now. Leave a link to SO question there too.
I'll try to take a look, today
@Gigacross How it is related to Meteor-Files?
Gigacross
@Gigacross
@dr-dimitru I'm sorry its not related, but I wasn't getting any response from meteor/meteor, so I thought I'd ask here, any help is appreciated... been battling this for days now...
dr.dimitru
@dr-dimitru
@Gigacross I took a look, but I'm sorry can't help you with it, never performed anything like this, and I'm on different OS. But I see you've already got some attention as SO, hove folks will help you there. 🤞
Aaron Schafer
@hashtaggigs
I'm wanting to play around with Amazon S3 and Meteor Files. Is there any tutorials out there that will help me from start to finish implement a Meteor app that allows users to upload and delete images using these?
dr.dimitru
@dr-dimitru
@hashtaggigs have you seen our Wiki?
Aaron Schafer
@hashtaggigs
@dr-dimitru Yes, It looks great, I was just checking if one (official tutorial) aside from that... existed... something with the exact step-by-step for starters. I guess it is always best to learn working through your own project first using the Wiki.
dr.dimitru
@dr-dimitru
@hashtaggigs you can check Medium I've seen some articles there.
Unfortunately we don't provide such 1-2-3 tutorials, but we believe you should figure everything out by simply reading demos code - https://github.com/VeliovGroup/Meteor-Files-Demos
Aaron Schafer
@hashtaggigs
@dr-dimitru Great! Perfect! Thanks!
Dastari
@Dastari
Hey all, I have a query regarding storing files on S3 or Azure. In my case I've just swapped over from using a S3 Bucket to Azure Blob storage. I'm looking to utilize Azure CDN service however my query relates to the .link() function for retrieving file URL's.
Assuming i'm still following the S3 bucket demo I assume is that due to using "InterceptDownload" any requests for images will come cause my server to fetch the image, then my server deliver the image, rather than the end user getting the "actual" real URL.
Dastari
@Dastari
Thus defeating the point of using a CDN which delivers content based on end users proximity to my repositories.
ronytesler
@ronytesler
Hi
How do I make 'onAfterUpload' to be called?
ronytesler
@ronytesler
someone?
ronytesler
@ronytesler
when I add this line: import S3 from 'aws-sdk/clients/s3'; I get this error: var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0);
Buffer is not defined
ronytesler
@ronytesler
onBeforeUpload is called, but onAfterUpload is not called
I get this on the console:
[FilesCollection] [UploadInstance] [sendEOF] false
from core.js
Tathan
@Tathan1047
Hola buenas tarde una consulta acerca de este paquete alguien podria ayudarme
estoy realizando la carga del archivo y todo se ejecuta correctamente pero cuando intento descargarlo recibo un 404
y le estoy especificando la ruta exacta donde se encuentra el archivo
Sarajin
@Sarajin
Wonder if anyone is around to answer a question about ostrio:files?
dr.dimitru
@dr-dimitru
@Sarajin yes, but it's better to open new issue on GITHUB as it would get much more attention
Sarajin
@Sarajin
@dr-dimitru It wasn't really a bug or issue. Would that matter?
Sarajin
@Sarajin
I'll just type it here, and you can tell me if it should be opened on github. I'm using ostrio:file in a meteor app that uses S3 as the storage area, works great so far. I noticed it has some kind of versioning ability, but it seems more like a static list of possible versions (as the example shows different video encoding formats, etc). Can it be used as a versioning mechanic where the file can be updated with multiple versions (1,2,3) at some point in the future, only returning say the latest version of the file? I'm trying to look throught and figure out if its possible, but I dont see some kind of update function on an already existing file. Hopefully that makes sense. if it is possible, and you know of an example somewhere, that would be great.
Thanks!
dr.dimitru
@dr-dimitru

@Sarajin questions are welcome in our GitHub issues as well.

Regarding your question:

  1. There is no build-in mechanism for uploading/adding different file's versions, you got to update MongoDB record on your own/3rd-party code
  2. There is build-in mechanism to retrieve/download file using its "version"
  3. Yes, it's suitable for versioning
Sarajin
@Sarajin
@dr-dimitru Thanks for answering!
dr.dimitru
@dr-dimitru
@Sarajin 👨‍💻👍