Hi,
I am writing a custom script that runs when a zip file is added to a folder space. The script will automatically extract the content of the zip file and place the content items in the target folder.
My approach is to create a content rule based on the condition that the file pattern matches *.zip. This executes a custom script that unzips the contents into the space. If the zip contains content items that have the same name as content items already stored in the space then an error message is displayed informing the user that an existing file or files already exist and provide the name(s) of the existing files.
I would appreciate any comments on this approach and also has anybody done anything similar?
Thanks