Zip and Unzip files


This Nuget package has two activties.

  1. Zip - It can zip Folders.
    Eg: SourceFilePath: “D:\Folder”
    DestinationFilePath: “D:\”
  2. UnZip- It can extract Files from folders.
    Eg: SourceFilePath: “D:\”
    DestinationFilePath: “D:\Folder”

Activity (24.5 KB) (33.3 KB)
ZipAndUnzipFile.Activities.1.0.0.nupkg (4.6 KB)

Unzip Files using invoke method
Zipping files
Compress and zip each individual folders
How to know the File Type
Email Challenge: This is similar, but unlike other Topics
Zip and unzip a file in uipath
How to compress and save in a specific folder

i have downloaded the NuGet package and placed it in the packages folder. Yet, it fails to work. Kindly assist.


@Amitha Please install the package from studio in order to use the activity. Go through the below link for more information:


Hello @Priya_Dubey I installed the package and trying to using the zip activity but i got this error please advise


Please mention the destination path as a folder path. As i can see in the screenshot that you have given destination folder as “C:\Users\ks1853332\Desktop”. Please try with something like below:


When I run “Un zip file” activity, it has thrown this exception: “End of Central Directory record could not be found”, I don’t know what is mean. This is the my DestinationFilePath: “D:\RPA\ITS\Files\Datas” and SourceFilePath: “D:\RPA\ITS\Files\Datas\123.rar”, please advise


How to unzip .gz file

Hi, nice package.

I have a “.gz” compressed file to uncompress. any package more generic for different descompression formats?


Does this handle Folders as well as Files?


Currently this package handles folders only. However in case you need to zip a file, then you can get this working by using a temporary folder.

For zipping:

  1. Create a temporary folder
  2. Move file to the folder
  3. Use the activity to Zip the folder

For Unzipping:

  1. Unzip the archive folder
  2. Move the file from temp folder to required location.


do you have any example of ziping ? is not working for me :C


Hi @naotosx,

The below activity is having the zip and unzip files with password production. It will help you.

Before go to the example , please install this package.