Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOCS: How to pass the filename if using collectionFS #2

Open
0o-de-lally opened this issue Aug 18, 2015 · 0 comments
Open

DOCS: How to pass the filename if using collectionFS #2

0o-de-lally opened this issue Aug 18, 2015 · 0 comments

Comments

@0o-de-lally
Copy link

Have you used CollectionFS to generate a file or stream?
Here's what I understand to be the correct approach to manipulate a file:

 file = fileObj.createReadStream();
 parsed = Baby.parseFiles(file)

(source: https://github.com/CollectionFS/Meteor-CollectionFS/wiki/How-to:-Convert-a-file-already-stored)

When using a file that successfully parses when using the filesystem, I'm getting:

errors: [ { type: '', code: '', message: 'Unsupported file type.', row: '' }

Any thoughts on how to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant