<?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 Unzip Encrypted Zip File in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Unzip-Encrypted-Zip-File/m-p/49063#M4530</link>
    <description>Hello Dream Team,&lt;BR /&gt;&lt;BR /&gt;I'm trying to unzip a zip file but the file is protected with a password.&lt;BR /&gt;&lt;BR /&gt;I'm trying to use BP's VBO "BPA Object - Utility - Windows Compressed File" but so far unsuccessfully.&lt;BR /&gt;&lt;BR /&gt;Could anyone help me trying to overcome this issue?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;José Maurí­cio de Carvalho&lt;BR /&gt;Senior Consultant&lt;BR /&gt;EY&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 21 Aug 2019 15:32:00 GMT</pubDate>
    <dc:creator>JoséMaurício_de</dc:creator>
    <dc:date>2019-08-21T15:32:00Z</dc:date>
    <item>
      <title>Unzip Encrypted Zip File</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-Encrypted-Zip-File/m-p/49063#M4530</link>
      <description>Hello Dream Team,&lt;BR /&gt;&lt;BR /&gt;I'm trying to unzip a zip file but the file is protected with a password.&lt;BR /&gt;&lt;BR /&gt;I'm trying to use BP's VBO "BPA Object - Utility - Windows Compressed File" but so far unsuccessfully.&lt;BR /&gt;&lt;BR /&gt;Could anyone help me trying to overcome this issue?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;José Maurí­cio de Carvalho&lt;BR /&gt;Senior Consultant&lt;BR /&gt;EY&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2019 15:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-Encrypted-Zip-File/m-p/49063#M4530</guid>
      <dc:creator>JoséMaurício_de</dc:creator>
      <dc:date>2019-08-21T15:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Unzip Encrypted Zip File</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Unzip-Encrypted-Zip-File/m-p/49064#M4531</link>
      <description>Hi José!&lt;BR /&gt;Which software do you have to zip/unzip file?&lt;BR /&gt;I've never had to unzip encrypted file, but I did something to zip a file with encryption. I read a lot of ways to do this, most of them with code stages. Unfortunalety, none of this works for me so i have to create my own way to accomplish this.&lt;BR /&gt;&lt;BR /&gt;Depending on the software that you are using to zip/unzip a file you can use some command through console.&lt;BR /&gt;For me was 7z, but i also test this on winzip.&lt;BR /&gt;&lt;BR /&gt;So I did some logic that creates a txt file with the command to zip a file with encryption.&amp;nbsp;&lt;BR /&gt;In order to do this I create a Data Item named "Planilla" with a command template&lt;BR /&gt;&lt;BR /&gt;7zip:&lt;BR /&gt;"C:\Program Files\7-Zip\7z.exe" a -p[PASSWORD] "[DestinationZipFile]" "[SourcePath]"&lt;BR /&gt;winzip32:&lt;BR /&gt;"C:\Program Files (x86)\WinZip\winzip32.exe" -min -a -s"[Password]" "[DestinationZipFile]" "[SourcePath]"&lt;BR /&gt;&lt;BR /&gt;Through a Calc Stage, I used the function Replace() to set the new values, like this.&lt;BR /&gt;Replace([Planilla], "[PASSWORD]", [Password])&lt;BR /&gt;Replace([Planilla], "[DestinationZipFile]", [Ruta Zip])&lt;BR /&gt;Replace([Planilla], "[SourcePath]", [Ruta]&amp;amp;"\*.*")&lt;BR /&gt;&lt;BR /&gt;When the Data Items is totally setted, I created a txt file with the Utility - File Management Write Text File Action (I realized that I cannot create a .bat directly)&lt;BR /&gt;Then i use the Move File Action of the same Utility Object to move as .bat file.&lt;BR /&gt;With the path of the .bat I use the Start Process Action of the Utility Environment VBO with the Path of the .bat as Input.&lt;BR /&gt;&lt;BR /&gt;This works for me, i really hope that this will give you an idea of how to unzip a encrypted file.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="12718.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/12887iEB0E98CD79AE0EEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="12718.png" alt="12718.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Daniel Sanhueza&lt;BR /&gt;Analyst&lt;BR /&gt;Deloitte&lt;BR /&gt;America/Santiago&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Aug 2019 17:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Unzip-Encrypted-Zip-File/m-p/49064#M4531</guid>
      <dc:creator>Daniel_Sanhueza</dc:creator>
      <dc:date>2019-08-21T17:16:00Z</dc:date>
    </item>
  </channel>
</rss>

