Regarding extracting file

studio
zip

#1

Hi @All,

How can we unzip a file?


#2

Hi,

You need to use navigation like right click on zip file --> select extract all --> enter the path --> extract…

Regards,
Ashish


#3

Hi @Ashish32229,
Refer this post.

Unzip Files using invoke method

Regards,
Arivu :slight_smile:


#4

Perfect… This works…


#5

Hi @arivu96
In invoke method ---- we need to select the zip file thats it
Method Name ---- what is that u given ectracttodirectory
can you explain


#6

In invoke method that is showing error


#7

Hi @varunk,
Please refer this xaml file
unzip.xaml (5.8 KB)

Regards,
Arivu


Unzip Password protected file
Zip or UnZip Activity
#8

What error can you send the screenshot or xaml file @varunk


#9

Check it once

test.xaml (5.4 KB)


#10

HI @varunk,

Please refer this xml file.

you did’t pass the input arguments, i modified your code please refer this
test.xaml (5.8 KB)

Regards,
Arivu :slight_smile:


#11

Hi @arivu96

How u got the target mathod as system.io.compression.zipfile
What you did for that


#12

I just searched it in variable type.(browse type->find)


#13

Hi @arivu96

Thanks bro its working fine


#14

why am I not able to find that variable type?


#15

Hi @irahmat

type system.io.compression.zipfile
you will get


#16

HI @irahmat,

I think you don’t have latest version of .NET Framework.

You need to add a reference, “System.IO.Compression” - and ensure you are using .NET 4.5 (since it doesn’t exist in earlier frameworks).

For this system.io.compression.zipfile you need to update your .net Framework to get this namespace.

Regards,
Arivu


#17

Hi @arivu96,

You are right, my .Net Version is 4.030319.42000.

How to upgrade .Net version, sorry I am new using .Net.

Regards,
Indra


#18

Hi @irahmat,

Refer the below link download the framework and install in your system.

https://docs.microsoft.com/en-us/dotnet/framework/install/guide-for-developers

https://www.microsoft.com/en-in/download/details.aspx?id=30653

Regards,
Arivu


#19

Thank’s a lot @arivu96


#20

my .Net is already 4.5 but Uipath still 4.0. do you know why?