I am trying to make Jquery File Upload to work and I'd like an advice about storing the files and particularly I am concerned about the situation when a user chooses a few files so they get downloaded to the server and then user just closes the browser or the tab or whatever, so I have extra files on my server which wont be used and therefore I will have to come up with something to remove these extra files... So the question is, how is it usually handled? What's the 'best practice' ?
btw, I am using ruby on rails and carrierwave, if that matters