locked
extract a zip archive upon upload RRS feed

  • Question

  • Hi,

    I would like to extract a zip archive upon upload into a document library. The event would be item_added, because I want to use certain metadata that has been assigned to the zip.

    Has anyone any experience with extracting files into a SP documentlibrary?

    Thanks

    Sven

    Saturday, February 18, 2012 9:28 PM

Answers

  • Hi,

    Its just c# when it comes down to it with SharePoint API to handle the files.

    Here is a Library for you to use:

    http://www.icsharpcode.net/OpenSource/SharpZipLib/


    Regards, Chris

    • Proposed as answer by Pigglywink Sunday, February 19, 2012 6:44 AM
    • Marked as answer by Sven W Thursday, February 23, 2012 9:19 PM
    Sunday, February 19, 2012 4:37 AM
  • Hi,

    I also found DotNetZip on Codeplex which is able to handle that on C# level. 
    http://dotnetzip.codeplex.com/

    I thought that someone else had the requirement, too.. to implement unzipping into an event receiver.

    Regards

    Sven

    • Marked as answer by Sven W Thursday, February 23, 2012 9:19 PM
    Sunday, February 19, 2012 11:32 AM

All replies

  • Hi,

    Its just c# when it comes down to it with SharePoint API to handle the files.

    Here is a Library for you to use:

    http://www.icsharpcode.net/OpenSource/SharpZipLib/


    Regards, Chris

    • Proposed as answer by Pigglywink Sunday, February 19, 2012 6:44 AM
    • Marked as answer by Sven W Thursday, February 23, 2012 9:19 PM
    Sunday, February 19, 2012 4:37 AM
  • Hi,

    I also found DotNetZip on Codeplex which is able to handle that on C# level. 
    http://dotnetzip.codeplex.com/

    I thought that someone else had the requirement, too.. to implement unzipping into an event receiver.

    Regards

    Sven

    • Marked as answer by Sven W Thursday, February 23, 2012 9:19 PM
    Sunday, February 19, 2012 11:32 AM