AnsweredAssumed Answered

upload zip files and automatically extract into folder

Question asked by davidturner90 on Apr 17, 2008
Latest reply on Apr 18, 2008 by pmonks
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

Outcomes