Is possible to decompress files .tar.gz

Hi everyone,

Just as the title says,

I’ve got a process for how I should decompress xxxxx.tar.gz

Does anyone know if this is possible?

Kind regards,

Hi @Pelayo_Celaya_Fernandez

These activities will able to help

GZ and TAR Unzip Activities - RPA Component | UiPath Marketplace | Overview

1 Like


Can you try the following sample?

Using  tgzStream = System.IO.File.OpenRead(tgzFile)
Using gzStream = New ICSharpCode.SharpZipLib.GZip.GZipInputStream(tgzStream)
     Using tarArchive = ICSharpCode.SharpZipLib.Tar.TarArchive.CreateInputTarArchive(gzStream) 
   End Using
End Using
End Using

Sample (10.6 KB)


1 Like

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