<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic @Bastiaan, a lot of… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79006#M30965</link>
    <description>@Bastiaan, a lot of programmers are too pragmatic this days &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;
Why bother packing&amp;nbsp;savegame data, people have huge HDDs anyway, just dump whole ram to disk and be done with it:&amp;nbsp;
&lt;A href="http://forum.masteroforion.com/index.php?/topic/1550-saved-games-file-s…" target="test_blank"&gt;http://forum.masteroforion.com/index.php?/topic/1550-saved-games-file-s…&lt;/A&gt;
&amp;nbsp;</description>
    <pubDate>Tue, 23 Oct 2018 00:15:00 GMT</pubDate>
    <dc:creator>AndreyKudinov</dc:creator>
    <dc:date>2018-10-23T00:15:00Z</dc:date>
    <item>
      <title>Unzip compressed file (.zip)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78995#M30954</link>
      <description>Hi All,

I need to extract (unzip) a compressed file/folder.
Please advice on this.

Thanks!
Aditya</description>
      <pubDate>Fri, 11 Aug 2017 09:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78995#M30954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-11T09:37:00Z</dc:date>
    </item>
    <item>
      <title>You need to create your own</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78996#M30955</link>
      <description>You need to create your own VBO for this, take a look at the ""ZipArchive"" and ""ZipFile"" classes on the offical msdn documentation site.</description>
      <pubDate>Fri, 11 Aug 2017 12:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78996#M30955</guid>
      <dc:creator>SébastienBulté</dc:creator>
      <dc:date>2017-08-11T12:13:00Z</dc:date>
    </item>
    <item>
      <title>Try</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78997#M30956</link>
      <description>Dim f As New FileInfo(Source_Path)
Using archive As ZipArchive = ZipFile.Open(Destination_Path, ZipArchiveMode.Update)
archive.CreateEntryFromFile(Source_Path, f.Name, CompressionLevel.Fastest)
End Using</description>
      <pubDate>Fri, 11 Aug 2017 18:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78997#M30956</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-08-11T18:32:00Z</dc:date>
    </item>
    <item>
      <title>ZipFile.ExtractToDirectory</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78998#M30957</link>
      <description>ZipFile.ExtractToDirectory(Source_Path, Destination_Path)</description>
      <pubDate>Fri, 11 Aug 2017 18:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78998#M30957</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2017-08-11T18:33:00Z</dc:date>
    </item>
    <item>
      <title>I have tried the solution …</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78999#M30958</link>
      <description>I have tried the solution @John_Carter has suggested. I am getting compile error saying that ZipArchive is not defined.
I have added System.IO.Compression.FileSystem.dll to External References and System.IO.Compression to Namespace Imports on the Code Options tab in Initialise stage of the object.
I have tried the solution suggested in this topic and it worked well&amp;nbsp;however it is not covering all I&amp;nbsp;would like to do.
I appreciate any suggestions.
I am working with BluePrism 5 on Windows 7 Enterprise with Service Pack 1
&amp;nbsp;</description>
      <pubDate>Thu, 15 Mar 2018 16:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/78999#M30958</guid>
      <dc:creator>AdamWagner</dc:creator>
      <dc:date>2018-03-15T16:54:00Z</dc:date>
    </item>
    <item>
      <title>Hi Adam,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79000#M30959</link>
      <description>Hi Adam,
What do you want to do in regards to your ZipFile which is not covered in the&amp;nbsp;topic you refered to&amp;nbsp;?</description>
      <pubDate>Thu, 15 Mar 2018 18:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79000#M30959</guid>
      <dc:creator>BastiaanBezemer</dc:creator>
      <dc:date>2018-03-15T18:27:00Z</dc:date>
    </item>
    <item>
      <title>Hi Bastian…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79001#M30960</link>
      <description>Hi Bastian
Thank you in advance.
I have an one-file-archive. I want to decompress that archive save the file under a custom name. Based on your answer and the answer from @John_Carter and msdn documentation I came out with something like this:
Using archive As ZipArchive = ZipFile.OpenRead([ZipFileToUnzip])
&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each entry As ZipArchiveEntry In archive.Entries
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; entry.ExtractToFile([UnzipedFileFullPath])
&amp;nbsp;&amp;nbsp;&amp;nbsp; Next
End Using
The above code leads to the following error:
Description: Compiler error at line 1: Type 'ZipArchive' is not defined.
&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Thu, 15 Mar 2018 18:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79001#M30960</guid>
      <dc:creator>AdamWagner</dc:creator>
      <dc:date>2018-03-15T18:58:00Z</dc:date>
    </item>
    <item>
      <title>On the Initialise page you…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79002#M30961</link>
      <description>On the Initialise page you'll need to add a Namespace Import for System.IO.Compression, and External References to System.IO.Compression.dll and I think System.IO.Compression.FileSystem.dll. Adding these is how the code stage can understand what ZipArchive means.</description>
      <pubDate>Thu, 15 Mar 2018 20:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79002#M30961</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-03-15T20:47:00Z</dc:date>
    </item>
    <item>
      <title>Hi Adam,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79003#M30962</link>
      <description>Hi Adam,
As John pointed out, NameSpace imports will probably help.
If you don't get it to work, don't worry and be pragmatic ?
You can already extract a zipfile to a folder, so if you create a temp folder, you can then loop trough it with Utility File management, do your actions, and then delete the tempfolder again.</description>
      <pubDate>Fri, 16 Mar 2018 13:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79003#M30962</guid>
      <dc:creator>BastiaanBezemer</dc:creator>
      <dc:date>2018-03-16T13:39:00Z</dc:date>
    </item>
    <item>
      <title>@John thank you, adding the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79004#M30963</link>
      <description>@John thank you, adding the library System.IO.Compression.dll&amp;nbsp;worked like a charm.
@Bastian being pragmatic is a must have in development &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I just&amp;nbsp;wanted to go one step&amp;nbsp;deeper and understand the ""proper"" way of doing it</description>
      <pubDate>Fri, 16 Mar 2018 14:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79004#M30963</guid>
      <dc:creator>AdamWagner</dc:creator>
      <dc:date>2018-03-16T14:58:00Z</dc:date>
    </item>
    <item>
      <title>It also needs to have System…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79005#M30964</link>
      <description>It also needs to have System.IO Namespace import in the Initialise page of the object.</description>
      <pubDate>Mon, 22 Oct 2018 20:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79005#M30964</guid>
      <dc:creator>AnitejaKota</dc:creator>
      <dc:date>2018-10-22T20:11:00Z</dc:date>
    </item>
    <item>
      <title>@Bastiaan, a lot of…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79006#M30965</link>
      <description>@Bastiaan, a lot of programmers are too pragmatic this days &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;
Why bother packing&amp;nbsp;savegame data, people have huge HDDs anyway, just dump whole ram to disk and be done with it:&amp;nbsp;
&lt;A href="http://forum.masteroforion.com/index.php?/topic/1550-saved-games-file-s…" target="test_blank"&gt;http://forum.masteroforion.com/index.php?/topic/1550-saved-games-file-s…&lt;/A&gt;
&amp;nbsp;</description>
      <pubDate>Tue, 23 Oct 2018 00:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-compressed-file-zip/m-p/79006#M30965</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-10-23T00:15:00Z</dc:date>
    </item>
  </channel>
</rss>

