Hello Everyone,
The current system is allowing any file to be downloaded, and in its place, is allowing the upload of any file (whether or not the same name, whether or not the same format). For instance, I downloaded a doc file and uploaded a different image file, with a different name and it’s still accepting it and giving it a version number too!
The application should accept only if latest version is uploaded with the exact file name and type...please help to solve this issue.
Thanks in Advance
Regards
Leela N
Hello.
That is the way Share is supposed to work.
If you need it to behave differently, you will have to customize it, and this will require you to write some code.
Maybe it would be a good idea to start reading about Behaviours, and then use it to write the verification you need, forcing it to rollback if the required condition is not met.
Thanks for your response, can i use java script for validation..?? if yes, which file can i work for validation (like upload.js file or flash-upload.js).
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.