{"action":"created","issue":{"url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/7","labels_url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/7/comments","events_url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/7/events","html_url":"https://github.com/NicolasRitouet/dpd-fileupload/issues/7","id":34750661,"number":7,"title":"Send events for progress","user":{"login":"NicolasRitouet","id":205134,"avatar_url":"https://avatars.githubusercontent.com/u/205134?v=3","gravatar_id":"","url":"https://api.github.com/users/NicolasRitouet","html_url":"https://github.com/NicolasRitouet","followers_url":"https://api.github.com/users/NicolasRitouet/followers","following_url":"https://api.github.com/users/NicolasRitouet/following{/other_user}","gists_url":"https://api.github.com/users/NicolasRitouet/gists{/gist_id}","starred_url":"https://api.github.com/users/NicolasRitouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicolasRitouet/subscriptions","organizations_url":"https://api.github.com/users/NicolasRitouet/orgs","repos_url":"https://api.github.com/users/NicolasRitouet/repos","events_url":"https://api.github.com/users/NicolasRitouet/events{/privacy}","received_events_url":"https://api.github.com/users/NicolasRitouet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-06-02T07:23:03Z","updated_at":"2015-11-16T11:11:57Z","closed_at":null,"body":"Example with Formidable:\r\n````\r\non('progress', function(bytesReceived, bytesExpected) {\r\nvar percentageUpload = '100*(bytesReceived/bytesExpected)';\r\nctx.session.emit(percentageUpload, xxx, xxx); // Should emit only to user\r\n}\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/comments/156998922","html_url":"https://github.com/NicolasRitouet/dpd-fileupload/issues/7#issuecomment-156998922","issue_url":"https://api.github.com/repos/NicolasRitouet/dpd-fileupload/issues/7","id":156998922,"user":{"login":"activestylus","id":285,"avatar_url":"https://avatars.githubusercontent.com/u/285?v=3","gravatar_id":"","url":"https://api.github.com/users/activestylus","html_url":"https://github.com/activestylus","followers_url":"https://api.github.com/users/activestylus/followers","following_url":"https://api.github.com/users/activestylus/following{/other_user}","gists_url":"https://api.github.com/users/activestylus/gists{/gist_id}","starred_url":"https://api.github.com/users/activestylus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activestylus/subscriptions","organizations_url":"https://api.github.com/users/activestylus/orgs","repos_url":"https://api.github.com/users/activestylus/repos","events_url":"https://api.github.com/users/activestylus/events{/privacy}","received_events_url":"https://api.github.com/users/activestylus/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T11:11:57Z","updated_at":"2015-11-16T11:11:57Z","body":"That's a shame, though I sympathize with your plight. I have solved this problem in two ways before:\r\n\r\nhttps://github.com/freeall/progress-stream works well with multer/express\r\n\r\nor\r\n\r\nSocket.IO to track progress https://github.com/vote539/socketio-file-upload\r\n\r\nDon't know how useful this will be for you but they did the trick on my minimal express apps\r\n\r\n"}}