Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

onProgess is not working. #31

Closed
orenkudev opened this issue Mar 18, 2019 · 1 comment
Closed

onProgess is not working. #31

orenkudev opened this issue Mar 18, 2019 · 1 comment

Comments

@orenkudev
Copy link

orenkudev commented Mar 18, 2019

onProgess is not working. I don't get any callbacks.... for the progress.
I tried debugging the skipper code and saw that there are progress events internally, but for some reason I couldn't find, it is not calling the function defined in onProgress.
req.file('videoFile').upload({
adapter: require('skipper-better-s3'),
key: process.env.S3_KEY || sails.config.nexcvConfig.S3Settings.KEY,
secret: process.env.S3_SECRET || sails.config.nexcvConfig.S3Settings.SECRET,
bucket: process.env.S3_BUCKET || sails.config.nexcvConfig.S3Settings.BUCKET,
onProgress: progressUpdate,
s3params:
{ ACL: 'public-read'
},

I'll be happy to help debug and fix this, but I will need your guidlines/help please. Please contact me
at [email protected]

@robertrossmann
Copy link
Member

Thanks for reporting. I will close this as a duplicate of #26. Note that I added some comments for possible resolution to the problem to that issue, feel free to try it out and continue the troubleshooting over there. ❤️

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

No branches or pull requests

2 participants