Extracting PDF from zif file

Hi,

I am downloading attachments from mail and putting it into one folder which consists of image,PDF and zip file.
i want to extract the zip files and into same folder after downloading the attachments how can i do.

Thanks,
heena

Thanks!

1 Like

@kadiravan_kalidosswhen i am trying to install the package i get error package installation failure.

Hai,
1.In sequence create two variables named as zippath and extractpath Or as your wish.
2.Assign the default value of zippath as path of the zipped folder Or file and for extractpath give the path value where you want to unzip the folder Or file.
3.then call activity invoke method and in target type select system. IO. Compression. Zipfile. And give method name as extractToDirectory.
4.now under properties invoke method set the parameters using zippath and extractpath.
Cheers buddy😀

Try this… It will work…

Give ZIP_PATH (location for extracting zip)
Invoke Method Activity :-
TargetType-> System.IO.Compression.ZipFile
MethodName-> Extract To Directory
Parameter → ZIP_PATH and FILE_PATH

Thanks…

Find attached flow @heena_shaikh for Unzip…

Unzip.xaml (4.7 KB)

Regards,
Ojha

2 Likes

@Avhishek_Ojha Thank you buddy :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.