Checking if a File Already Exists in Vault

Hi,

When I upload files using Vault, I noticed that files get overwritten if they already exist. Is there a way to

  • take action such as back-up old file before uploading the new one with the same name?
  • warn the user that the file already exists in the target folder?

I saw there is a onAddFile function, but not quite sure how to achieve the above.

Thanks in advance,
Dhanan.

All this functionality is easy to achieve with your own code (you will need both client-side and server-side). It is not included in the control itself.

p.s.: I will try to to prepare a sample for you and will post it here. Thanks for good sample request!

Thanks Fedor for the prompt response. Will look forward to get your sample code.

Dhanan.