-
-
Notifications
You must be signed in to change notification settings - Fork 237
Binary File Transfers Corrupted? Truncated? #41
Comments
Please try uploading a small text file? I suspect it could be an issue in ejson base64 decoder meteor issue #1001 - I'll try to replicate |
Small text file works fine! |
Oh, just looked into that meteor issue - I bet you're right. Meteor? I barely know her! |
I think its an issue with the latest option for setting encoding - the store + retrieve works (the data is fine in db and can retrieve via ddp) - but when the filehandler wants to save the data its not encoded correct when saving to the filesystem. The files are generated, but not correct (so no corruption in transport - guess methods/ddp is not using ejson.base64Decode - which would be another issue) I've been using the deprecating 'binary' encoding but I guess this might be a good time to adapt. I'll give it 15min more - getting late in my timezone :) |
* Minor fix due to new option `encoding`
@petrocket Should work now, on mrt version 0.2.3 |
Yay appears to be fixed! Gotta love livin on the bleeding edge of technology. |
i'm using Meteor 1.2, and have the same problem. i'm using 'binary' as encoding, |
I'm using meteorite 0.4.9, meteor 0.6.x and the latest collectionFS and when I upload any files (.jpg and .png tested) the resulting files are corrupt and shorter. Could this be an encoding issue? I did a file comparison and besides being a bit shorter the saved file also had a lot of characters that were different (in hex).
I'm hoping coffeescript doesn't have something to do with it because all my server code uses that and meteor 0.6.x got rid of global variables so it has caused some minor issues declaring collection instances.
The text was updated successfully, but these errors were encountered: