server side knows when upload completes

How would I use Vault to do this. On the server side, I want my application to see an uploaded file only when it is completely finished uploading. … Or some equivalent functionality. I can use a call-back from Vault if necessary. Something like onFinish( ). I wouldn’t mind too much if I still have to poll for arriving files if the Vault only lets the file become visible when finished. I don’t want to poll the file size periodically to hope that it’s finished when it stops growing. Your solution? Thanks in advance!

The best way is to use vault.onUploadComplete event handler, you should call your server side script from it.