-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Skipper detects incorrect sizes in posted files #3847
Comments
Hi @NAlexandrov! It looks like you missed a step or two when you created your issue. Please edit your comment (use the pencil icon at the top-right corner of the comment box) and fix the following:
As soon as those items are rectified, post a new comment (e.g. “Ok, fixed!”) below and we'll take a look. Thanks! If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@treeline.io. |
Hey @NAlexandrov, thanks for the detailed report. @crobinson42 made some progress on this here: https://github.com/balderdashy/skipper/issues/109, so if you'd take a look at his findings and let us know what your results were, that'd be awesome. |
@NAlexandrov This is now fixed in the latest skipper-disk and skipper-s3 on NPM (cc @sgress454) |
Sails version: 0.12.6
Node version: 6.7.0
NPM version: 3.10.3
Operating system: macOS 10.12
Why Skipper detects incorrect file size? I created a new Sails app and made next changes:
config/routes.js
config/http.js
api/controllers/UploadController.js
request.js for post request:
RESULT:
ls -la
P.S. All will be ok if I post one file in array. If I post two files:
You can see that skipper detects correct size only in last file.
P.S.S. I tested request.js on Hapi and Express.js+multer. They are detects the correct sizes.
The text was updated successfully, but these errors were encountered: