Unzip .tar.gz files

activities
zip

#1

Hello Everyone im triying to unzip a .tar.gz file the error is below any ideas how to un zip this files?

[Window Title]
Workflow Exception

[Main Instruction]
Main has thrown an exception

[Content]
Source: UnZip

Message: Access to the path ‘C:\Users\favelasc\Documents\UiPath\Recepcion de Depositos Soriana\Depositos’ is denied.

Exception Type: UnauthorizedAccessException

[Expanded Information]
System.UnauthorizedAccessException: Access to the path ‘C:\Users\favelasc\Documents\UiPath\Recepcion de Depositos Soriana\Depositos’ is denied.
at BalaReva.Externals.UnZipFile.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

[V] See details [Copy to Clipboard] [View Logs] [OK]


How to Unrar multiple files inside a folder
#2

Hi @Fausto,

I have released new version in the below activity. It supports the tar.gz format.

Note :
Thank you @Rammohan91

Regards
Balamurugan.S


#3

image

not able to unrar this file

getting below error

image


#4

Try with the extension. Zip. It will work.
Regards

Balamurugan


#5

not working with .zip extension also because the folder is .rar format.

When I am changing the folder name with .zip then only .zip extension working


#6

Hi @hareshjindal1,
Yes. This activity will extract only the zip and .tar.gz. I am working for the next release. You will have this feature in the next release.

Thank you for your feedback.

Regards
Balamurugan


#7

thanks


#8

Hi

End of this day I will upload a new version. So it will support zip,Gzip,Tar,Rar and 7zip format.

Thank you

Balamurugan


#9

one more thing, can we extract multiple folder path in .rar format in one go by mentioning the path details?

suppose one directory has only .rar files and files count and name may be change on daily basis so how to extract all .rar or .zip files whatever the name is , in one go?

Thanks.


#10

After the release. I will attach a sample for you…

Regards
Balamurugan


#11

Hi @hareshjindal1,

I have uploaded the new version 3.1.0 . The unzip activity supports the Zip, GZip, Tar, Rar and 7Zip formats.

Here I have attached the sample for your above situation.

ZipUnZip.zip (215.8 KB)

Regards
Balamurugan


How to Unrar multiple files inside a folder
#12

getting this error when trying to open.

second thing i updated your package with new version 3.1.0
but still it is not able to unrar the file.

image

Thanks


#13

I have developed it in the version of 2018.3 beta. If you are using the lower version. Please update it.

Regards

Balamurugan