Regarding extracting file

Hi @All,

How can we unzip a file?

Hi,

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

Regards,
Ashish

Hi @Ashish32229,
Refer this post.

Unzip Files using invoke method - #2 by badita

Regards,
Arivu :slight_smile:

Perfect… This works…

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

In invoke method that is showing error

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

Regards,
Arivu

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

Check it once

test.xaml (5.4 KB)

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:

Hi @arivu96

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

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

Hi @arivu96

Thanks bro its working fine

why am I not able to find that variable type?
image

Hi @irahmat

type system.io.compression.zipfile
you will get

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

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

Hi @irahmat,

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

Regards,
Arivu

1 Like

Thank’s a lot @arivu96

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