{"action":"closed","issue":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/267","repository_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files","labels_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/267/comments","events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/267/events","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/267","id":182693220,"number":267,"title":"Remove unfinished uploads","user":{"login":"ck23onGithub","id":22335710,"avatar_url":"https://avatars.githubusercontent.com/u/22335710?v=3","gravatar_id":"","url":"https://api.github.com/users/ck23onGithub","html_url":"https://github.com/ck23onGithub","followers_url":"https://api.github.com/users/ck23onGithub/followers","following_url":"https://api.github.com/users/ck23onGithub/following{/other_user}","gists_url":"https://api.github.com/users/ck23onGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/ck23onGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ck23onGithub/subscriptions","organizations_url":"https://api.github.com/users/ck23onGithub/orgs","repos_url":"https://api.github.com/users/ck23onGithub/repos","events_url":"https://api.github.com/users/ck23onGithub/events{/privacy}","received_events_url":"https://api.github.com/users/ck23onGithub/received_events","type":"User","site_admin":false},"labels":[{"id":200431642,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-13T04:27:18Z","updated_at":"2016-12-15T15:55:50Z","closed_at":"2016-12-15T15:55:50Z","body":"Question:\nIs it possible to get the name of the file in the FS when the upload starts?\n\nit immediately creates the file in FS when upload is started, right? is there any possible way to get this?\n\nI'm thinking of deleting the file if the upload was not finished.\n\nWhy I need this? Here is the scenario I'm thinking:\n1. Client uploads a file\n2. While upload is ongoing, he closed his browser (or something like losing connection from the client side) and returns only after a few hrs\n3. A file remains in the FS and I need to delete it\n\nI'm thinking if there is a way to get the file name of the created file, from the client side, I'll just pass it to the server and then remove it some time in the future.\n\nThank you\n"}}
{"actor":{"display_login":"dr-dimitru"}}