Meteor-files: Setting disableDownload to true also prevents upload

Created on 23 Mar 2018  路  5Comments  路  Source: veliovgroup/Meteor-Files

When I use disableDownload: true in the constructor (on server), files fail to upload (over HTTP) and I get the following error on client console:

Something went wrong! [sendEOF] method doesn't returned JSON! Looks like you're on Cordova app or behind proxy, switching to DDP transport is recommended.

Any feedback why this is happening, or how I can prevent the error while still preventing downloads?

bug

Most helpful comment

Working great as expected... thank you :)

All 5 comments

Hello @afiouni ,

We can not reproduce this issue as you've described. We're running tests on our demo app, toggling this line.

Please update this thread following our issue template.

  • Version of Meteor-Files you're experiencing this issue
  • Version of Meteor you're experiencing this issue
  • Where this issue appears? OS (Mac/Win/Linux)? Browser name and its version?
  • Post Client and/or Server logs with enabled debug option, you can enable "debug" mode in Constructor
  • Post sample of FilesCollection constructor configuration you're using on both Client and Server

@afiouni bug confirmed, hold on for update

Fixed and published as v1.9.9
@afiouni Please let me know how it works on your end.

Working great as expected... thank you :)

Please, support this project by:

Was this page helpful?
0 / 5 - 0 ratings