Copying files from a Zipped Folder without UnZipping the Folder

Hi Team,

I need to iterate through a zipped folder and copy a specified file further processing i have used the below code

System.IO.Compression.ZipFile.OpenRead(ZipedFolderLocation)

I have imported the System.IO.Compression & also installed the same in Manage Package but still get the error as .

Error ERROR Validation Error Compiler error(s) encountered processing expression “System.IO.Compression.ZipFile.OpenRead(sZipedFolderLocation)”.
Reference required to assembly ‘System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ containing the type ‘System.IO.Compression.ZipArchive’. Add one to your project. Process Data/Inventory_UnZip.xaml

Any suggestion will be helpful.

Hi @harshavardhan3457

Try to use this package

1 Like

Hi @harshavardhan3457

Continuing the discussion from Copying files from a Zipped Folder with UnZipping the file:

You can use UiPath Activity to Unzip the files and then you can iterate the files and capture the Specific file which you required

image

Happy Automation
Thanks

Thank u, but it was typepo i have updates my question.
This is the right one:
“Copying files from a Zipped Folder without UnZipping the Folder”