Topic: Pause upload when FileUploaded event is fired


I need to pause my uploads for each file uploaded to the server until I can register the file in my own database so that I can keep the state of the file on amazon in sync with the record for the file in my db. In order to do that I wanted to do something similar to what BeforeUpload event does and return false from the event. However, i couldn't figure out how I can start the process again. What is the best way to handle this type of a situation?


Re: Pause upload when FileUploaded event is fired

Upload of the next file is initialized automatically via internal FileUploaded handler. What you could do is supply your own handler and return false from it to cancel default behavior. However in order to be able to do this you should attach your handler before you invoke uploader.init().

If you want to see your issue fixed, do not report it here, do it on - GitHub.